Fix for previous commit: need to ifdef NDEBUG on the
authorSteve Reinhardt <stever@eecs.umich.edu>
Tue, 6 Feb 2007 18:04:44 +0000 (10:04 -0800)
committerSteve 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

index de3050d8cb74511400e9a81a4373505ae9c79b28..356472d9a7ee52218d9d78e4b4bc672a8c585ce0 100644 (file)
@@ -53,7 +53,9 @@ using namespace std;
 //
 EventQueue mainEventQueue("MainEventQueue");
 
+#ifndef NDEBUG
 Counter Event::instanceCounter = 0;
+#endif
 
 void
 EventQueue::insert(Event *event)