mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-15 20:52:11 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
TexturePacket::TexturePacket() {
|
||||
this->textureName = L"";
|
||||
this->dataBytes = 0;
|
||||
this->pbData = NULL;
|
||||
this->pbData = nullptr;
|
||||
}
|
||||
|
||||
TexturePacket::~TexturePacket() {
|
||||
// can't free this - it's used elsewhere
|
||||
// if(this->pbData!=NULL)
|
||||
// if(this->pbData!=nullptr)
|
||||
// {
|
||||
// delete [] this->pbData;
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user