Эх сурвалжийг харах

warnings in Timer.h

Former-commit-id: f703ee0dc7e93753f5492c2573137ff952e34d40
Alec Jacobson (jalec 12 жил өмнө
parent
commit
6aa6e2e8ed
1 өөрчлөгдсөн 13 нэмэгдсэн , 1 устгасан
  1. 13 1
      include/igl/Timer.h

+ 13 - 1
include/igl/Timer.h

@@ -21,7 +21,19 @@ namespace igl
   {
   public:
     // default constructor
-    Timer()                       
+    Timer():
+      stopped(0),
+#ifdef WIN32
+      frequency(0),
+      startCount(0),
+      endCount(0)
+#elif __APPLE__
+      startCount(0),
+      endCount(0)
+#else
+      startCount(),
+      endCount()
+#endif
     {
 #ifdef WIN32
       QueryPerformanceFrequency(&frequency);