Skip to content

Commit

Permalink
CommonAPI 3.1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
juergengehring committed Jun 19, 2017
1 parent 008f6c1 commit 5152d31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/CommonAPI/MainLoopContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5152d31

Please sign in to comment.