refactor: replace NULL with nullptr across C++ codebase

Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
MatthewBeshay
2026-03-30 16:25:52 +11:00
parent a330ecdcbb
commit dfb0e3b03e
752 changed files with 5396 additions and 5396 deletions

View File

@@ -155,8 +155,8 @@ void Options::init() {
keyMappings[12] = keyPickItem;
keyMappings[13] = keyToggleFog;
minecraft = NULL;
// optionsFile = NULL;
minecraft = nullptr;
// optionsFile = nullptr;
difficulty = 2;
hideGui = false;
@@ -370,7 +370,7 @@ void Options::load() {
std::wstring line = L"";
while ((line = br->readLine()) !=
L"") // 4J - was check against NULL - do we need to distinguish
L"") // 4J - was check against nullptr - do we need to distinguish
// between empty lines and a fail here?
{
// 4J - removed try/catch