util/AllocatedArray: fix -Wunused-parameter
This commit is contained in:
parent
774024a41b
commit
7006b075c3
|
@ -107,7 +107,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
AllocatedArray &operator=(std::nullptr_t n) noexcept {
|
AllocatedArray &operator=(std::nullptr_t) noexcept {
|
||||||
delete[] buffer.data();
|
delete[] buffer.data();
|
||||||
buffer = {};
|
buffer = {};
|
||||||
return *this;
|
return *this;
|
||||||
|
|
Loading…
Reference in New Issue