summaryrefslogtreecommitdiff
path: root/src/timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.cc')
-rw-r--r--src/timer.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/timer.cc b/src/timer.cc
index c785b345..76fb022d 100644
--- a/src/timer.cc
+++ b/src/timer.cc
@@ -4,10 +4,11 @@
# include "../config.h"
#endif // HAVE_CONFIG_H
-#include "basedisplay.hh"
#include "timer.hh"
#include "util.hh"
+namespace ob {
+
BTimer::BTimer(TimerQueueManager *m, TimeoutHandler *h) {
manager = m;
handler = h;
@@ -88,3 +89,5 @@ bool BTimer::shouldFire(const timeval &tm) const {
return ! ((tm.tv_sec < end.tv_sec) ||
(tm.tv_sec == end.tv_sec && tm.tv_usec < end.tv_usec));
}
+
+}