ソースを参照

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
 

読み込み中…
キャンセル
保存