Fix compile error when compiling with optimize level 4

This commit is contained in:
rdb 2014-10-09 14:24:03 +00:00
parent 9faeb08e57
commit 296476f7dd

View File

@ -53,8 +53,10 @@ public:
private: private:
#else // DO_PSTATS #else // DO_PSTATS
INLINE PStatGPUTimer(GraphicsStateGuardian *, PStatCollector &) { } INLINE PStatGPUTimer(GraphicsStateGuardian *, PStatCollector &col)
INLINE PStatGPUTimer(GraphicsStateGuardian *, PStatCollector &, Thread *) { } : PStatTimer(col) { }
INLINE PStatGPUTimer(GraphicsStateGuardian *, PStatCollector &col, Thread *)
: PStatTimer(col) { }
INLINE ~PStatGPUTimer() { } INLINE ~PStatGPUTimer() { }
#endif // DO_PSTATS #endif // DO_PSTATS