diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-02-06 10:04:44 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-02-06 10:04:44 -0800 |
commit | 572addee5d261104c5817e24608ea0ae9c1d4c75 (patch) | |
tree | 8a8eb2b83f23eba07941a1e8ca3b2aab35e17184 /src | |
parent | f5a803f56e6057a9d908c47aa05fbbfb98a575b5 (diff) | |
download | gem5-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')
-rw-r--r-- | src/sim/eventq.cc | 2 |
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) |