aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 20:37:25 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 20:37:25 +0200
commit1b5ec3e3cacea82e7d667e23b6f31811fc37dd49 (patch)
tree43eb8844df28247814d25d70519e109006cd860d /src
parentfb4e6ac923574a8544c94e4deceaf774a4e2504c (diff)
downloadmpd-1b5ec3e3cacea82e7d667e23b6f31811fc37dd49.tar.gz
mpd-1b5ec3e3cacea82e7d667e23b6f31811fc37dd49.tar.xz
mpd-1b5ec3e3cacea82e7d667e23b6f31811fc37dd49.zip
lib/nfs/Glue: eliminate class NfsGlue
It's just a useless wrapper for class NfsManager.
Diffstat (limited to '')
-rw-r--r--src/lib/nfs/Glue.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/nfs/Glue.cxx b/src/lib/nfs/Glue.cxx
index c043f06c6..c89d463ca 100644
--- a/src/lib/nfs/Glue.cxx
+++ b/src/lib/nfs/Glue.cxx
@@ -23,23 +23,7 @@
#include "IOThread.hxx"
#include "util/Manual.hxx"
-class NfsGlue {
- NfsManager manager;
-
-public:
- NfsGlue(EventLoop &_loop)
- :manager(_loop) {}
-
- ~NfsGlue() {
- //assert(open_uri.empty());
- }
-
- NfsConnection &GetConnection(const char *server, const char *export_name) {
- return manager.GetConnection(server, export_name);
- }
-};
-
-static Manual<NfsGlue> nfs_glue;
+static Manual<NfsManager> nfs_glue;
static unsigned in_use;
void