Przeglądaj źródła

Cleaning up MSVC warnings

add-code-of-conduct-1
John Daily 5 lat temu
rodzic
commit
3ba2030743
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4
    0
      Modules/LemmaCore/include/timer.h

+ 4
- 0
Modules/LemmaCore/include/timer.h Wyświetl plik

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
 

Ładowanie…
Anuluj
Zapisz