summaryrefslogtreecommitdiff
path: root/src/sim/eventq.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-04-15 16:24:10 -0700
committerNathan Binkert <nate@binkert.org>2010-04-15 16:24:10 -0700
commitf7e6f19adabd0ce7e35cea8b5c3b070e2cd26c38 (patch)
treeffecfb5d9e39f1a0e59981bbd117dc41586b6bb4 /src/sim/eventq.hh
parentc90ee27283f9423664dd8a07a1b1d594a664df27 (diff)
downloadgem5-f7e6f19adabd0ce7e35cea8b5c3b070e2cd26c38.tar.xz
eventq: move EventQueue constructor to cc file
Also make copy constructor and assignment operator private.
Diffstat (limited to 'src/sim/eventq.hh')
-rw-r--r--src/sim/eventq.hh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh
index cee48665d..1b00088a3 100644
--- a/src/sim/eventq.hh
+++ b/src/sim/eventq.hh
@@ -370,10 +370,11 @@ class EventQueue : public Serializable
void insert(Event *event);
void remove(Event *event);
+ EventQueue(const EventQueue &);
+ const EventQueue &operator=(const EventQueue &);
+
public:
- EventQueue(const std::string &n)
- : objName(n), head(NULL)
- {}
+ EventQueue(const std::string &n);
virtual const std::string name() const { return objName; }