mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 01:56:32 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
|
||||
DLCUIDataFile::DLCUIDataFile(const std::wstring& path)
|
||||
: DLCFile(DLCManager::e_DLCType_UIData, path) {
|
||||
m_pbData = NULL;
|
||||
m_pbData = nullptr;
|
||||
m_dataBytes = 0;
|
||||
m_canDeleteData = false;
|
||||
}
|
||||
|
||||
DLCUIDataFile::~DLCUIDataFile() {
|
||||
if (m_canDeleteData && m_pbData != NULL) {
|
||||
if (m_canDeleteData && m_pbData != nullptr) {
|
||||
app.DebugPrintf("Deleting DLCUIDataFile data\n");
|
||||
delete[] m_pbData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user