Browse Source

explicit

add-code-of-conduct-1
Trevor Irons 6 years ago
parent
commit
7fec3580e3
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Modules/FDEM1D/include/GQChave.h
  2. 1
    1
      Modules/FDEM1D/src/GQChave.cpp

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

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 View File

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…
Cancel
Save