aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nfs/Connection.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-06 08:47:10 +0200
committerMax Kellermann <max@duempel.org>2014-10-06 08:47:13 +0200
commit60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6 (patch)
tree2d95e9d1ea1fb0ce527595aa33f44b3bdd1eb742 /src/lib/nfs/Connection.hxx
parentb1a252a64d39d17618d2d00ac341684b6f290ef6 (diff)
downloadmpd-60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6.tar.gz
mpd-60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6.tar.xz
mpd-60512ffa09e779da4b1c0ba3ce3f1ab6a73f0fb6.zip
lib/nfs/Connection: make GetEventLoop() public
Diffstat (limited to 'src/lib/nfs/Connection.hxx')
-rw-r--r--src/lib/nfs/Connection.hxx8
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();
/**