summaryrefslogtreecommitdiff
path: root/src/base_consist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base_consist.cpp')
-rw-r--r--src/base_consist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_consist.cpp b/src/base_consist.cpp
index 200512786..7abb083f7 100644
--- a/src/base_consist.cpp
+++ b/src/base_consist.cpp
@@ -30,7 +30,7 @@ void BaseConsist::CopyConsistPropertiesFrom(const BaseConsist *src)
if (this == src) return;
free(this->name);
- this->name = src->name != NULL ? stredup(src->name) : NULL;
+ this->name = src->name != nullptr ? stredup(src->name) : nullptr;
this->current_order_time = src->current_order_time;
this->lateness_counter = src->lateness_counter;