aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:36:46 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:36:46 +0100
commit3ace1a9a7af4141715a8454d974ecd65208f405a (patch)
tree81a94df82c7be56bc11e0ad0ca708c2ca04f3b09 /src
parent7893342e1ba5fd01be7448244db967fda3c5cfe9 (diff)
removed auto
Diffstat (limited to 'src')
-rw-r--r--src/crepe/manager/LoopTimerManager.cpp2
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);