]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timer.h
Rewrite Timer to use a heap instead of set to deal with duplicate timeouts
[libs/core.git] / source / time / timer.h
index 935df0323debc6c25dbb6e1bb8f62c54f12d67db..a0dabcdbd7b7cc8e08d553ba7c3e8ea46797762c 100644 (file)
@@ -1,14 +1,14 @@
 /* $Id$
 
 This file is part of libmspcore     
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
+Copyright © 2006, 2009  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 +53,7 @@ private:
                bool operator<(const SlotProxy &) const;
        };
 
-       std::set<SlotProxy> slots;
+       std::vector<SlotProxy> slots;
        Semaphore sem;
        Mutex mutex;