summaryrefslogtreecommitdiff
path: root/src/cpu/simple/timing.hh
diff options
context:
space:
mode:
authorClint Smullen <cws3k@cs.virginia.edu>2008-10-27 18:18:04 -0400
committerClint Smullen <cws3k@cs.virginia.edu>2008-10-27 18:18:04 -0400
commit95af120e601671e6819ca97b78a1879d4ab0d853 (patch)
treef435a1dcfe541e7267c41fcd1bf33619eef9a3fa /src/cpu/simple/timing.hh
parentcfa32d8de737847f04bfa6e5e89375c870c3869b (diff)
downloadgem5-95af120e601671e6819ca97b78a1879d4ab0d853.tar.xz
CPU: The API change to EventWrapper did not get propagated to the entirety of TimingSimpleCPU.
The constructor no-longer schedules an event at construction and the implict conversion between int and bool was allowing the old code to compile without warning. Signed-off By: Ali Saidi
Diffstat (limited to 'src/cpu/simple/timing.hh')
-rw-r--r--src/cpu/simple/timing.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/timing.hh b/src/cpu/simple/timing.hh
index 081051ea7..0fc9b3152 100644
--- a/src/cpu/simple/timing.hh
+++ b/src/cpu/simple/timing.hh
@@ -192,7 +192,7 @@ class TimingSimpleCPU : public BaseSimpleCPU
private:
typedef EventWrapper<TimingSimpleCPU, &TimingSimpleCPU::fetch> FetchEvent;
- FetchEvent *fetchEvent;
+ FetchEvent fetchEvent;
struct IprEvent : Event {
Packet *pkt;