summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-10 12:19:26 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-10 12:19:26 +0200
commit181978705240b970574b13eccfe86f28629a1f36 (patch)
treec1085ca0975cba7b90eee935d9267f5ff994ff79
parentacccaa39641500b8a691db4136e6571102a438ed (diff)
Move the TimerMap typedef into the private part of TimerManager
-rw-r--r--include/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/timer.h b/include/timer.h
index 2ac0517b8..a597427e3 100644
--- a/include/timer.h
+++ b/include/timer.h
@@ -111,14 +111,14 @@ class CoreExport Timer
}
};
-typedef std::multimap<time_t, Timer*> TimerMap;
-
/** This class manages sets of Timers, and triggers them at their defined times.
* This will ensure timers are not missed, as well as removing timers that have
* expired and allowing the addition of new ones.
*/
class CoreExport TimerManager
{
+ typedef std::multimap<time_t, Timer*> TimerMap;
+
/** A list of all pending timers
*/
TimerMap Timers;