summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/eventq.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/eventq.cc b/src/sim/eventq.cc
index de3050d8c..356472d9a 100644
--- a/src/sim/eventq.cc
+++ b/src/sim/eventq.cc
@@ -53,7 +53,9 @@ using namespace std;
//
EventQueue mainEventQueue("MainEventQueue");
+#ifndef NDEBUG
Counter Event::instanceCounter = 0;
+#endif
void
EventQueue::insert(Event *event)