Sfoglia il codice sorgente

explicit

add-code-of-conduct-1
Trevor Irons 6 anni fa
parent
commit
7fec3580e3
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      Modules/FDEM1D/include/GQChave.h
  2. 1
    1
      Modules/FDEM1D/src/GQChave.cpp

+ 1
- 1
Modules/FDEM1D/include/GQChave.h Vedi File

@@ -37,7 +37,7 @@ namespace Lemma {
37 37
 			// ====================  LIFECYCLE     ===========================
38 38
 
39 39
 			/// Default locked constructor.
40
-			GQChave ( const ctor_key& );
40
+			explicit GQChave ( const ctor_key& );
41 41
 
42 42
             /** DeSerializing locked constructor, use DeSerialize */
43 43
             GQChave ( const YAML::Node& node, const ctor_key& );

+ 1
- 1
Modules/FDEM1D/src/GQChave.cpp Vedi File

@@ -544,7 +544,7 @@ namespace Lemma{
544 544
         np  = 0; // TI, zero based indexing
545 545
 
546 546
         int  NPB   = 1; // 0?
547
-        int  L     = 0; 
547
+        int  L     = 0;
548 548
         Real B     = 0.;
549 549
         Real A     = 0.;
550 550
         Real SUMR  = 0.;

Loading…
Annulla
Salva