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

@@ -81,7 +81,7 @@ std::shared_ptr<ItemInstance> FurnaceMenu::quickMoveStack(
bool charcoalUsed = furnace->wasCharcoalUsed();
if (slot != NULL && slot->hasItem()) {
if (slot != nullptr && slot->hasItem()) {
std::shared_ptr<ItemInstance> stack = slot->getItem();
clicked = stack->copy();
@@ -105,7 +105,7 @@ std::shared_ptr<ItemInstance> FurnaceMenu::quickMoveStack(
return nullptr;
}
} else if (FurnaceRecipes::getInstance()->getResult(
stack->getItem()->id) != NULL) {
stack->getItem()->id) != nullptr) {
if (!moveItemStackTo(stack, INGREDIENT_SLOT, INGREDIENT_SLOT + 1,
false)) {
return nullptr;