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

@@ -103,7 +103,7 @@ void ConsoleSaveFileOutputStream::write(byteArray b, unsigned int offset,
// bytes. If this stream has an associated channel then the channel is closed as
// well.
void ConsoleSaveFileOutputStream::close() {
if (m_saveFile != NULL) {
if (m_saveFile != nullptr) {
bool result = m_saveFile->closeHandle(m_file);
if (!result) {
@@ -111,6 +111,6 @@ void ConsoleSaveFileOutputStream::close() {
}
// Stop the dtor from trying to close it again
m_saveFile = NULL;
m_saveFile = nullptr;
}
}