diff --git a/examples/DopplerEffect/main.cpp b/examples/DopplerEffect/main.cpp index 44e769335..0a2a63dda 100644 --- a/examples/DopplerEffect/main.cpp +++ b/examples/DopplerEffect/main.cpp @@ -55,7 +55,7 @@ int main() sound.Play(); Nz::MillisecondClock clock; - app.AddUpdater([&](Nz::Time elapsedTime) + app.AddUpdater([&](Nz::Time /*elapsedTime*/) { std::this_thread::sleep_for(std::chrono::milliseconds(1000 / 30)); diff --git a/examples/PhysicallyBasedRendering/main.cpp b/examples/PhysicallyBasedRendering/main.cpp index e041ea206..954f0f1ef 100644 --- a/examples/PhysicallyBasedRendering/main.cpp +++ b/examples/PhysicallyBasedRendering/main.cpp @@ -141,7 +141,7 @@ int main() } }); - app.AddUpdater([&](Nz::Time elapsedTime) + app.AddUpdater([&](Nz::Time /*elapsedTime*/) { if (std::optional deltaTime = updateClock.RestartIfOver(Nz::Time::TickDuration(60))) { diff --git a/examples/Physics2DDemo/main.cpp b/examples/Physics2DDemo/main.cpp index b01ac7c31..7c0d1c58f 100644 --- a/examples/Physics2DDemo/main.cpp +++ b/examples/Physics2DDemo/main.cpp @@ -118,7 +118,7 @@ int main() Nz::PidController headingController(0.5f, 0.f, 0.05f); Nz::PidController upController(1.f, 0.f, 0.1f); - app.AddUpdater([&](Nz::Time elapsedTime) + app.AddUpdater([&](Nz::Time /*elapsedTime*/) { fps++; diff --git a/examples/Showcase/main.cpp b/examples/Showcase/main.cpp index cc981cdfc..8bf4ff3db 100644 --- a/examples/Showcase/main.cpp +++ b/examples/Showcase/main.cpp @@ -377,7 +377,7 @@ int main() playerRotNode.SetRotation(camAngles); }); - app.AddUpdater([&](Nz::Time elapsedTime) + app.AddUpdater([&](Nz::Time /*elapsedTime*/) { if (std::optional deltaTime = updateClock.RestartIfOver(Nz::Time::TickDuration(60))) {