mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 01:27:10 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -15,7 +15,7 @@ ContainerSetContentPacket::ContainerSetContentPacket(
|
||||
items = ItemInstanceArray((int)newItems->size());
|
||||
for (unsigned int i = 0; i < items.length; i++) {
|
||||
std::shared_ptr<ItemInstance> item = newItems->at(i);
|
||||
items[i] = item == NULL ? nullptr : item->copy();
|
||||
items[i] = item == nullptr ? nullptr : item->copy();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user