util/AllocatedArray: fix -Wunused-parameter
This commit is contained in:
parent
774024a41b
commit
7006b075c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user