diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-09 17:36:46 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-09 17:36:46 +0100 |
commit | 3ace1a9a7af4141715a8454d974ecd65208f405a (patch) | |
tree | 81a94df82c7be56bc11e0ad0ca708c2ca04f3b09 /src/crepe/manager/LoopTimerManager.cpp | |
parent | 7893342e1ba5fd01be7448244db967fda3c5cfe9 (diff) |
removed auto
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.cpp')
-rw-r--r-- | src/crepe/manager/LoopTimerManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::chrono::duration<double>>( current_frame_time - last_frame_time); |