浏览代码

Cleaning up MSVC warnings

add-code-of-conduct-1
John Daily 5 年前
父节点
当前提交
3ba2030743
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      Modules/LemmaCore/include/timer.h

+ 4
- 0
Modules/LemmaCore/include/timer.h 查看文件

@@ -73,7 +73,11 @@ class jsw_timer {
73 73
         Real last() const { return elapsed; }
74 74
 
75 75
     private:
76
+        #ifdef LEMMAUSEOMP
77
+        Real start;
78
+        #else
76 79
         std::clock_t start;
80
+        #endif
77 81
         Real    elapsed;
78 82
 };
79 83
 

正在加载...
取消
保存