util/{Const,Writable}Buffer: eliminate static method Null(), use nullptr cast instead

This commit is contained in:
Max Kellermann
2017-11-21 12:43:09 +01:00
parent 23dff4f209
commit 65059f2add
4 changed files with 3 additions and 19 deletions

View File

@@ -72,7 +72,7 @@ public:
AllocatedArray(AllocatedArray &&other)
:buffer(other.buffer) {
other.buffer = Buffer::Null();
other.buffer = nullptr;
}
~AllocatedArray() {