X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimer.h;fp=source%2Ftime%2Ftimer.h;h=91acda9d49281373ade15beb162db9f7789c6f99;hp=8bd4d074a70ea569b19074b32e303323143fae81;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/time/timer.h b/source/time/timer.h index 8bd4d07..91acda9 100644 --- a/source/time/timer.h +++ b/source/time/timer.h @@ -41,7 +41,7 @@ public: private: struct SlotProxy { - Slot *slot; + Slot *slot = 0; SlotProxy(Slot *); bool operator<(const SlotProxy &) const; @@ -50,7 +50,7 @@ private: std::vector slots; Semaphore sem; Mutex mutex; - bool blocking; + bool blocking = false; public: Timer();