summaryrefslogtreecommitdiff
path: root/src/sim/root.hh
diff options
context:
space:
mode:
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:
/**