]> 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 8b4e5957ebd17257e55bf8a5e2979dc99f75868f..403e484cba7376412ca0a068c58f908e258d1ff1 100644 (file)
@@ -1,13 +1,7 @@
-/*
-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"
@@ -52,7 +46,7 @@ private:
                bool operator<(const SlotProxy &) const;
        };
 
-       std::set<SlotProxy> slots;
+       std::vector<SlotProxy> slots;
        Semaphore sem;
        Mutex mutex;
 
@@ -83,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;
 };