mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-13 18:39:24 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -206,7 +206,7 @@ void NotGateTile::levelTimeChanged(Level* level, int64_t delta,
|
||||
int64_t newTime) {
|
||||
std::deque<Toggle>* toggles = recentToggles[level];
|
||||
|
||||
if (toggles != NULL) {
|
||||
if (toggles != nullptr) {
|
||||
for (AUTO_VAR(it, toggles->begin()); it != toggles->end(); ++it) {
|
||||
(*it).when += delta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user