Skip to content

Commit 5152d31

Browse files
CommonAPI 3.1.12.1
1 parent 008f6c1 commit 5152d31

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Changes
22
=======
3+
v3.1.12.1
4+
- replaced std::chrono::high_resolution_clock by std::chrono::steady_clock in MainLoopContext.cpp
35

46
v3.1.12
57
- Add possibility to be notified on proxy destruction via

src/CommonAPI/MainLoopContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace CommonAPI {
99

1010
int64_t getCurrentTimeInMs() {
11-
return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now().time_since_epoch()).count();
11+
return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now().time_since_epoch()).count();
1212
}
1313

1414
const std::string &MainLoopContext::getName() const {

0 commit comments

Comments
 (0)