summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}