aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ebase.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/ebase.h')
-rw-r--r--lib/base/ebase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/ebase.h b/lib/base/ebase.h
index d9a17b79..3bdd705c 100644
--- a/lib/base/ebase.h
+++ b/lib/base/ebase.h
@@ -187,7 +187,7 @@ public:
eMainloop():app_quit_now(0),loop_level(0),retval(0){ }
void addSocketNotifier(eSocketNotifier *sn);
void removeSocketNotifier(eSocketNotifier *sn);
- void addTimer(eTimer* e) { TimerList.push_back(e); TimerList.sort(); }
+ void addTimer(eTimer* e) { TimerList.insert_in_order(e); }
void removeTimer(eTimer* e) { TimerList.remove(e); }
int looplevel() { return loop_level; }