From cbbc4501c87c7910ba74ea8d4b53df257c01940d Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 6 Dec 2008 14:18:18 -0800 Subject: eventq: move virtual function definitiions to the .cc file. --- src/sim/eventq.hh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'src/sim/eventq.hh') diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 281df2dc3..5c98659b6 100644 --- a/src/sim/eventq.hh +++ b/src/sim/eventq.hh @@ -209,20 +209,8 @@ class Event : public Serializable, public FastAlloc #endif } - virtual - ~Event() - { - } - - virtual const std::string - name() const - { -#ifndef NDEBUG - return csprintf("Event_%d", instance); -#else - return csprintf("Event_%x", (uintptr_t)this); -#endif - } + virtual ~Event(); + virtual const std::string name() const; /// Return a C string describing the event. This string should /// *not* be dynamically allocated; just a const char array -- cgit v1.2.3