X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimer.h;h=33257319eba3466d89f28c650efcd26dde0a996d;hp=91acda9d49281373ade15beb162db9f7789c6f99;hb=HEAD;hpb=122846f0881673770d88eff7d925ecf25c01b62e diff --git a/source/time/timer.h b/source/time/timer.h index 91acda9..7cb5c76 100644 --- a/source/time/timer.h +++ b/source/time/timer.h @@ -3,6 +3,7 @@ #include #include +#include #include #include #include @@ -19,7 +20,7 @@ of the returned slot. This class is thread-safe, to allow running timers in a separate thread. */ -class Timer: private NonCopyable +class MSPCORE_API Timer: private NonCopyable { public: class Slot @@ -41,9 +42,8 @@ public: private: struct SlotProxy { - Slot *slot = 0; + Slot *slot; - SlotProxy(Slot *); bool operator<(const SlotProxy &) const; };