diff options
Diffstat (limited to 'src/system/UniqueFileDescriptor.hxx')
-rw-r--r-- | src/system/UniqueFileDescriptor.hxx | 3 |
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; } |