Преглед изворни кода

explicit

add-code-of-conduct-1
Trevor Irons пре 5 година
родитељ
комит
7fec3580e3
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1
    1
      Modules/FDEM1D/include/GQChave.h
  2. 1
    1
      Modules/FDEM1D/src/GQChave.cpp

+ 1
- 1
Modules/FDEM1D/include/GQChave.h Прегледај датотеку

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

+ 1
- 1
Modules/FDEM1D/src/GQChave.cpp Прегледај датотеку

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

Loading…
Откажи
Сачувај