瀏覽代碼

explicit

add-code-of-conduct-1
Trevor Irons 6 年之前
父節點
當前提交
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,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 查看文件

@@ -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…
取消
儲存