X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimer.h;h=7cb5c764d59979e0316e2e365444940ad8e4d786;hb=HEAD;hp=33257319eba3466d89f28c650efcd26dde0a996d;hpb=41363aed34382386f915f17c1a961750b4fdcb14;p=libs%2Fcore.git diff --git a/source/time/timer.h b/source/time/timer.h index 3325731..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 = nullptr; + Slot *slot; - SlotProxy(Slot *); bool operator<(const SlotProxy &) const; };