summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--src/CommonAPI/MainLoopContext.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 720772d..78da72b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
Changes
=======
+v3.1.12.1
+- replaced std::chrono::high_resolution_clock by std::chrono::steady_clock in MainLoopContext.cpp
v3.1.12
- Add possibility to be notified on proxy destruction via
diff --git a/src/CommonAPI/MainLoopContext.cpp b/src/CommonAPI/MainLoopContext.cpp
index 0dfa1bd..a097ce7 100644
--- a/src/CommonAPI/MainLoopContext.cpp
+++ b/src/CommonAPI/MainLoopContext.cpp
@@ -8,7 +8,7 @@
namespace CommonAPI {
int64_t getCurrentTimeInMs() {
- return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
+ return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now().time_since_epoch()).count();
}
const std::string &MainLoopContext::getName() const {