summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/eventq.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index c46902889..5362dcf34 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -432,7 +432,7 @@ class EventManager
public:
EventManager(EventManager &em) : eventq(em.eventq) {}
- EventManager(EventManager *em) : eventq(em ? em->eventq : NULL) {}
+ EventManager(EventManager *em) : eventq(em->eventq) {}
EventManager(EventQueue *eq) : eventq(eq) {}
EventQueue *