src/simulator/map-scheduler.h
changeset 3805 902c5237743a
parent 3187 5ef944bee832
child 3806 d0381b7f3030
--- a/src/simulator/map-scheduler.h	Wed Oct 15 10:10:53 2008 +0200
+++ b/src/simulator/map-scheduler.h	Wed Oct 15 10:11:32 2008 +0200
@@ -49,14 +49,9 @@
   virtual bool Remove (const EventId &ev);
 private:
 
-  class EventKeyCompare {
-  public:
-    bool operator () (struct EventKey const&a, struct EventKey const&b);
-  };
-
-  typedef std::map<Scheduler::EventKey, EventImpl*, MapScheduler::EventKeyCompare> EventMap;
-  typedef std::map<Scheduler::EventKey, EventImpl*, MapScheduler::EventKeyCompare>::iterator EventMapI;
-  typedef std::map<Scheduler::EventKey, EventImpl*, MapScheduler::EventKeyCompare>::const_iterator EventMapCI;
+  typedef std::map<Scheduler::EventKey, EventImpl*> EventMap;
+  typedef std::map<Scheduler::EventKey, EventImpl*>::iterator EventMapI;
+  typedef std::map<Scheduler::EventKey, EventImpl*>::const_iterator EventMapCI;
 
 
   EventMap m_list;