]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timer.h
Drop copyright and license notices from source files
[libs/core.git] / source / time / timer.h
index 935df0323debc6c25dbb6e1bb8f62c54f12d67db..403e484cba7376412ca0a068c58f908e258d1ff1 100644 (file)
@@ -1,14 +1,7 @@
-/* $Id$
-
-This file is part of libmspcore     
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_TIME_TIMER_H_
 #define MSP_TIME_TIMER_H_
 
-#include <set>
+#include <vector>
 #include <sigc++/sigc++.h>
 #include "../core/mutex.h"
 #include "../core/semaphore.h"
@@ -53,7 +46,7 @@ private:
                bool operator<(const SlotProxy &) const;
        };
 
-       std::set<SlotProxy> slots;
+       std::vector<SlotProxy> slots;
        Semaphore sem;
        Mutex mutex;
 
@@ -84,7 +77,7 @@ public:
        Note: If there are no active timers when a blocking tick is executed, it
        won't return until a timer is added from another thread.
        */
-       void tick(bool block=true);
+       void tick(bool block = true);
 
        TimeStamp get_next_timeout() const;
 };