diff --git a/src/util/Buffer.hpp b/src/util/Buffer.hpp index f7bf3ff66..403fa4d82 100644 --- a/src/util/Buffer.hpp +++ b/src/util/Buffer.hpp @@ -37,6 +37,8 @@ namespace util { Buffer(std::nullptr_t) noexcept : ptr(nullptr), length(0) {} + Buffer& operator=(Buffer&&) = default; + inline bool operator==(std::nullptr_t) const noexcept { return ptr == nullptr; }