util/AllocatedArray: fix -Wunused-parameter

This commit is contained in:
Max Kellermann 2022-05-20 09:48:48 +02:00
parent 774024a41b
commit 7006b075c3
1 changed files with 1 additions and 1 deletions

View File

@ -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;