From 5152d31a5607393103ef01f2bb034bd267064b81 Mon Sep 17 00:00:00 2001 From: Juergen Gehring Date: Mon, 19 Jun 2017 07:50:13 -0700 Subject: CommonAPI 3.1.12.1 --- CHANGES | 2 ++ src/CommonAPI/MainLoopContext.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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::high_resolution_clock::now().time_since_epoch()).count(); + return std::chrono::duration_cast(std::chrono::steady_clock::now().time_since_epoch()).count(); } const std::string &MainLoopContext::getName() const { -- cgit v1.2.1