]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timer.h
Annotate deprecated functions as such
[libs/core.git] / source / time / timer.h
index 575599fa6bb92eb16abeeced1f1147bb32cdaa8f..62f248d23a722078472c461b9f04186c6cdd827d 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <vector>
 #include <sigc++/sigc++.h>
+#include <msp/core/attributes.h>
 #include <msp/core/mutex.h>
 #include <msp/core/noncopyable.h>
 #include <msp/core/semaphore.h>
@@ -68,7 +69,7 @@ public:
        void cancel(Slot &);
 
        /** Deprecated.  Use one of the other overloads. */
-       void tick(bool block);
+       DEPRECATED void tick(bool block);
 
        /** Waits until a timer expires, then executes it.  If no timers have been
        set, blocks until one is added from another thread. */