Browse Source

Cleaning up MSVC warnings

add-code-of-conduct-1
John Daily 6 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
         Real last() const { return elapsed; }
73
         Real last() const { return elapsed; }
74
 
74
 
75
     private:
75
     private:
76
+        #ifdef LEMMAUSEOMP
77
+        Real start;
78
+        #else
76
         std::clock_t start;
79
         std::clock_t start;
80
+        #endif
77
         Real    elapsed;
81
         Real    elapsed;
78
 };
82
 };
79
 
83
 

Loading…
Cancel
Save