diff options
Diffstat (limited to 'src/sim/stat_control.cc')
-rw-r--r-- | src/sim/stat_control.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc index 80aec224e..7cf77174f 100644 --- a/src/sim/stat_control.cc +++ b/src/sim/stat_control.cc @@ -175,9 +175,9 @@ class StatEvent : public Event public: StatEvent(bool _dump, bool _reset, Tick _repeat) - : Event(Stat_Event_Pri), dump(_dump), reset(_reset), repeat(_repeat) + : Event(Stat_Event_Pri, AutoDelete), + dump(_dump), reset(_reset), repeat(_repeat) { - setFlags(AutoDelete); } virtual void |