From 60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Oct 2014 08:47:10 +0200 Subject: lib/nfs/Connection: make GetEventLoop() public --- src/lib/nfs/Connection.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx index b3db37c5d..d0a8a5da2 100644 --- a/src/lib/nfs/Connection.hxx +++ b/src/lib/nfs/Connection.hxx @@ -141,6 +141,10 @@ public: return export_name.c_str(); } + EventLoop &GetEventLoop() { + return SocketMonitor::GetEventLoop(); + } + /** * Ensure that the connection is established. The connection * is kept up while at least one #NfsLease is registered. @@ -165,10 +169,6 @@ protected: virtual void OnNfsConnectionError(Error &&error) = 0; private: - EventLoop &GetEventLoop() { - return SocketMonitor::GetEventLoop(); - } - void DestroyContext(); /** -- cgit v1.2.3