diff options
author | Max Kellermann <max@duempel.org> | 2014-10-06 08:47:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-06 08:47:13 +0200 |
commit | 60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6 (patch) | |
tree | 2d95e9d1ea1fb0ce527595aa33f44b3bdd1eb742 | |
parent | b1a252a64d39d17618d2d00ac341684b6f290ef6 (diff) |
lib/nfs/Connection: make GetEventLoop() public
-rw-r--r-- | src/lib/nfs/Connection.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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(); /** |