We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ab849 commit 778207bCopy full SHA for 778207b
Client/mods/deathmatch/logic/CClientSound.h
@@ -127,7 +127,7 @@ class CClientSound final : public CClientEntity
127
static AudioBufferDeleter ForExternalReference() noexcept { return AudioBufferDeleter(&NoopImpl); }
128
129
private:
130
- static void DeleteArrayImpl(void* ptr) noexcept { ::operator delete[](ptr); }
+ static void DeleteArrayImpl(void* ptr) noexcept { delete[] static_cast<uint8_t*>(ptr); }
131
static void FreeImpl(void* ptr) noexcept { std::free(ptr); }
132
static void NoopImpl(void*) noexcept {}
133
0 commit comments