summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-19 12:36:54 +0100
committerMax Kellermann <max@musicpd.org>2019-02-19 12:36:54 +0100
commit56bded07b14082db3a5441603ef752de4b6ed681 (patch)
treed18276d3a34e182497aaf8c465b33311853e4e8f /src/system
parentdb144a43ad4b926cd9259f9353b9df2177710739 (diff)
system/UniqueFileDescriptor: import std::swap
Diffstat (limited to 'src/system')
-rw-r--r--src/system/UniqueFileDescriptor.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/UniqueFileDescriptor.hxx b/src/system/UniqueFileDescriptor.hxx
index 3175a093a..b8da92932 100644
--- a/src/system/UniqueFileDescriptor.hxx
+++ b/src/system/UniqueFileDescriptor.hxx
@@ -60,7 +60,8 @@ public:
}
UniqueFileDescriptor &operator=(UniqueFileDescriptor &&other) noexcept {
- std::swap(fd, other.fd);
+ using std::swap;
+ swap(fd, other.fd);
return *this;
}