summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp
index 224c4f7..1f91dab 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -65,7 +65,7 @@ public:
rl->addLinksBetween(l, s);
rl->addLinksBetween(t, u);
rl->addLinksBetween(u, m);
- std::shared_ptr<Train> train = world.create<Train>(l3);
+ const std::shared_ptr<Train> train = world.create<Train>(l3);
auto b47 = std::make_shared<RailVehicleClass>("brush47");
for (int N = 0; N < 6; N++) {
train->create<RailVehicle>(b47);