diff --git a/src/util/AllocatedArray.hxx b/src/util/AllocatedArray.hxx index f5bb0fcea..cc79cb219 100644 --- a/src/util/AllocatedArray.hxx +++ b/src/util/AllocatedArray.hxx @@ -92,7 +92,8 @@ public: } AllocatedArray &operator=(AllocatedArray &&other) noexcept { - std::swap(buffer, other.buffer); + using std::swap; + swap(buffer, other.buffer); return *this; }