Browse Source

Cleaning up MSVC warnings

add-code-of-conduct-1
John Daily 5 years ago
parent
commit
3ba2030743
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Modules/LemmaCore/include/timer.h

+ 4
- 0
Modules/LemmaCore/include/timer.h View File

@@ -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
 

Loading…
Cancel
Save