From 3ace1a9a7af4141715a8454d974ecd65208f405a Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 9 Dec 2024 17:36:46 +0100 Subject: removed auto --- src/crepe/manager/LoopTimerManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe') diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp index 70a57d2..e496a44 100644 --- a/src/crepe/manager/LoopTimerManager.cpp +++ b/src/crepe/manager/LoopTimerManager.cpp @@ -23,7 +23,7 @@ void LoopTimerManager::start() { } void LoopTimerManager::update() { - auto current_frame_time = std::chrono::steady_clock::now(); + std::chrono::steady_clock::time_point current_frame_time = std::chrono::steady_clock::now(); // Convert to duration in seconds for delta time this->delta_time = std::chrono::duration_cast>( current_frame_time - last_frame_time); -- cgit v1.2.3