summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-02-06 10:04:44 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2007-02-06 10:04:44 -0800
commit572addee5d261104c5817e24608ea0ae9c1d4c75 (patch)
tree8a8eb2b83f23eba07941a1e8ca3b2aab35e17184 /src/sim
parentf5a803f56e6057a9d908c47aa05fbbfb98a575b5 (diff)
downloadgem5-572addee5d261104c5817e24608ea0ae9c1d4c75.tar.xz
Fix for previous commit: need to ifdef NDEBUG on the
definition as well as the declaration. --HG-- extra : convert_revision : 4f073fa6b47bf21abf58d92cb1c9eed699c9c89e
Diffstat (limited to 'src/sim')
-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)