Commit 510e6841 authored by Max Kellermann's avatar Max Kellermann

net/AllocatedSocketAddress: import std::swap

parent 2089c993
......@@ -79,8 +79,9 @@ public:
}
AllocatedSocketAddress &operator=(AllocatedSocketAddress &&src) noexcept {
std::swap(address, src.address);
std::swap(size, src.size);
using std::swap;
swap(address, src.address);
swap(size, src.size);
return *this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment