summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-23 05:58:29 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-23 07:42:30 +0100
commitc69de61bf3873e5de4bb035ee965881a99789142 (patch)
tree80937253965344272c4b9f16448215d1ad433145 /src/scenery.cpp
parent9f6d6555a2999256d5eceddca1d16329c401804c (diff)
src/object: use forward declaration for dt
Diffstat (limited to 'src/scenery.cpp')
-rw-r--r--src/scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenery.cpp b/src/scenery.cpp
index d95908c2..701dde1f 100644
--- a/src/scenery.cpp
+++ b/src/scenery.cpp
@@ -146,7 +146,7 @@ bool scenery::can_activate(size_t i) const
);
}
-void scenery::update(size_t i, Ns dt)
+void scenery::update(size_t i, const Ns& dt)
{
return std::visit(
[&]<typename T>(T& sc) { sc.update(*this, i, dt); },