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

@@ -4,7 +4,7 @@
#include "../../../Minecraft.World/Util/StringHelpers.h"
DefaultTexturePack::DefaultTexturePack()
: AbstractTexturePack(0, NULL, L"Minecraft", NULL) {
: AbstractTexturePack(0, nullptr, L"Minecraft", nullptr) {
// 4J Stu - These calls need to be in the most derived version of the class
loadIcon();
loadName(); // 4J-PB - added so the PS3 can have localised texture names'
@@ -41,7 +41,7 @@ InputStream* DefaultTexturePack::getResourceImplementation(
InputStream* resource = InputStream::getResourceAsStream(wDrive + name);
// InputStream *stream =
// DefaultTexturePack::class->getResourceAsStream(name); if (stream == NULL)
// DefaultTexturePack::class->getResourceAsStream(name); if (stream == nullptr)
//{
// throw new FileNotFoundException(name);
// }