summaryrefslogtreecommitdiff
path: root/src/sim/root.hh
diff options
context:
space:
mode:
authorSean Wilson <spwilson2@wisc.edu>2017-06-08 11:35:45 -0500
committerSean Wilson <spwilson2@wisc.edu>2017-06-20 18:03:21 +0000
commit85e1a9b8548ca2df406fd1ff56568a7ee1481aa0 (patch)
treea064cb48f30a9c8af954f2a87efa24ba9965ca15 /src/sim/root.hh
parentc8668a663992264911545f8001d462e0885b114c (diff)
downloadgem5-85e1a9b8548ca2df406fd1ff56568a7ee1481aa0.tar.xz
sim, x86: Replace EventWrapper use with EventFunctionWrapper
Change-Id: Ie1df07b70776208fc3631a73d403024636fc05a9 Signed-off-by: Sean Wilson <spwilson2@wisc.edu> Reviewed-on: https://gem5-review.googlesource.com/3749 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/sim/root.hh')
-rw-r--r--src/sim/root.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sim/root.hh b/src/sim/root.hh
index 7273a077b..db207a77b 100644
--- a/src/sim/root.hh
+++ b/src/sim/root.hh
@@ -60,8 +60,7 @@ class Root : public SimObject
Time lastTime;
void timeSync();
- EventWrapper<Root, &Root::timeSync> syncEvent;
- friend class EventWrapper<Root, &Root::timeSync>;
+ EventFunctionWrapper syncEvent;
public:
/**