diff --git a/src/util/AllocatedArray.hxx b/src/util/AllocatedArray.hxx index 86a703511..0a2240d1b 100644 --- a/src/util/AllocatedArray.hxx +++ b/src/util/AllocatedArray.hxx @@ -107,7 +107,7 @@ public: return *this; } - AllocatedArray &operator=(std::nullptr_t n) noexcept { + AllocatedArray &operator=(std::nullptr_t) noexcept { delete[] buffer.data(); buffer = {}; return *this;