projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5a803f
)
Fix for previous commit: need to ifdef NDEBUG on the
author
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 6 Feb 2007 18:04:44 +0000
(10:04 -0800)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Tue, 6 Feb 2007 18:04:44 +0000
(10:04 -0800)
definition as well as the declaration.
--HG--
extra : convert_revision :
4f073fa6b47bf21abf58d92cb1c9eed699c9c89e
src/sim/eventq.cc
patch
|
blob
|
history
diff --git
a/src/sim/eventq.cc
b/src/sim/eventq.cc
index de3050d8cb74511400e9a81a4373505ae9c79b28..356472d9a7ee52218d9d78e4b4bc672a8c585ce0 100644
(file)
--- 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)