]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Move the TimerMap typedef into the private part of TimerManager
authorAttila Molnar <attilamolnar@hush.com>
Thu, 10 Jul 2014 10:19:26 +0000 (12:19 +0200)
committerAttila Molnar <attilamolnar@hush.com>
Thu, 10 Jul 2014 10:19:26 +0000 (12:19 +0200)
include/timer.h

index 2ac0517b84a3a62cf573f9523d4675a1a8e62af2..a597427e3c5c55a14ed0d7f8fd44eb7809622cb9 100644 (file)
@@ -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;