]> git.localhorst.tv Git - blank.git/commitdiff
gcc 4.8.5/centos compatibility
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2016 14:48:08 +0000 (15:48 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 9 Nov 2016 14:48:08 +0000 (15:48 +0100)
src/app/FrameCounter.hpp

index 9364e2e3c4e46b11af7e7fa7c9af2f08ff0f1433..0b7d38f7c5d9d1730ff33ea4916c44185c8bb936 100644 (file)
@@ -12,12 +12,13 @@ class FrameCounter {
 public:
        template<class T>
        struct Frame {
-               T handle = T(0);
-               T update = T(0);
-               T render = T(0);
-               T running = T(0);
-               T waiting = T(0);
-               T total = T(0);
+               T handle;
+               T update;
+               T render;
+               T running;
+               T waiting;
+               T total;
+               Frame();
        };
 
 
@@ -63,6 +64,18 @@ private:
 
 };
 
+
+template<class T>
+FrameCounter::Frame<T>::Frame()
+: handle(0)
+, update(0)
+, render(0)
+, running(0)
+, waiting(0)
+, total(0) {
+
+}
+
 }
 
 #endif