aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-01 22:09:37 +0200
committerMax Kellermann <max@duempel.org>2014-10-01 22:09:37 +0200
commitaa7774b82bc2f32fe3f91f2d8aa416d65efa71ec (patch)
treeccae482474f05185f61d4768dfce0ada9deac401 /src/lib
parentd44da875e777e1cdb9e765e5a518936ee65b68b4 (diff)
downloadmpd-aa7774b82bc2f32fe3f91f2d8aa416d65efa71ec.tar.gz
mpd-aa7774b82bc2f32fe3f91f2d8aa416d65efa71ec.tar.xz
mpd-aa7774b82bc2f32fe3f91f2d8aa416d65efa71ec.zip
lib/nfs/Connection: remove deprecated move constructor workaround
Not used anymore because NfsManager now uses boost::intrusive::set instead of std::map.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nfs/Connection.hxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx
index 791ab15e7..8a66b9977 100644
--- a/src/lib/nfs/Connection.hxx
+++ b/src/lib/nfs/Connection.hxx
@@ -103,22 +103,6 @@ public:
server(_server), export_name(_export_name),
context(nullptr) {}
-#if defined(__GNUC__) && !defined(__clang__) && !GCC_CHECK_VERSION(4,8)
- /* needed for NfsManager::GetConnection() due to lack of
- std::map::emplace() */
- NfsConnection(NfsConnection &&other)
- :SocketMonitor(((SocketMonitor &)other).GetEventLoop()),
- DeferredMonitor(((DeferredMonitor &)other).GetEventLoop()),
- server(std::move(other.server)),
- export_name(std::move(other.export_name)),
- context(nullptr) {
- assert(other.context == nullptr);
- assert(other.new_leases.empty());
- assert(other.active_leases.empty());
- assert(other.callbacks.IsEmpty());
- }
-#endif
-
/**
* Must be run from EventLoop's thread.
*/