aboutsummaryrefslogtreecommitdiffstats
path: root/src/GlobalEvents.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/GlobalEvents.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GlobalEvents.cxx b/src/GlobalEvents.cxx
index ade745535..ed7697b1a 100644
--- a/src/GlobalEvents.cxx
+++ b/src/GlobalEvents.cxx
@@ -33,6 +33,9 @@
namespace GlobalEvents {
class Monitor final : public DeferredMonitor {
+ public:
+ Monitor(EventLoop &_loop):DeferredMonitor(_loop) {}
+
protected:
virtual void Run() override;
};
@@ -67,9 +70,9 @@ GlobalEvents::Monitor::Run()
}
void
-GlobalEvents::Initialize()
+GlobalEvents::Initialize(EventLoop &loop)
{
- monitor.Construct();
+ monitor.Construct(loop);
}
void