summaryrefslogtreecommitdiffstats
path: root/util/system/hp_timer.cpp
diff options
context:
space:
mode:
authorDaniil Cherednik <[email protected]>2022-02-10 16:50:16 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:16 +0300
commit17e20fa084178ddcb16255f974dbde74fb93608b (patch)
tree39605336c0b4d33928df69a256102c515fdf6ff5 /util/system/hp_timer.cpp
parent97df5ca7413550bf233fc6c7210e292fca0a51af (diff)
Restoring authorship annotation for Daniil Cherednik <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/hp_timer.cpp')
-rw-r--r--util/system/hp_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/hp_timer.cpp b/util/system/hp_timer.cpp
index e4c3f21e6b4..8121e8bce0b 100644
--- a/util/system/hp_timer.cpp
+++ b/util/system/hp_timer.cpp
@@ -112,7 +112,7 @@ void NHPTimer::GetTime(STime* pTime) noexcept {
double NHPTimer::GetTimePassed(STime* pTime) noexcept {
STime old(*pTime);
- *pTime = GetCycleCount();
+ *pTime = GetCycleCount();
return GetSeconds(*pTime - old);
}