From 0470f648c6512d7a8a6fc5f66e760dfc85f2c8aa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Oct 2014 22:10:46 +0200 Subject: lib/nfs/Connection: add method GetEventLoop() --- src/lib/nfs/Connection.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/nfs/Connection.hxx') diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx index 4b570513e..020dc6302 100644 --- a/src/lib/nfs/Connection.hxx +++ b/src/lib/nfs/Connection.hxx @@ -133,6 +133,10 @@ protected: virtual void OnNfsConnectionError(Error &&error) = 0; private: + EventLoop &GetEventLoop() { + return SocketMonitor::GetEventLoop(); + } + void DestroyContext(); bool MountInternal(Error &error); void BroadcastMountSuccess(); -- cgit v1.2.3