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

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