Commit 9c5b2175 authored by octal's avatar octal

Fixed a compilation issue with gcc 4.9

parent d6ae1128
......@@ -242,7 +242,8 @@ Listener::requestLoad(const Listener::Load& old) {
};
auto now = std::chrono::system_clock::now();
std::chrono::microseconds tick = now - old.tick;
auto diff = now - old.tick;
auto tick = std::chrono::duration_cast<std::chrono::microseconds>(diff);
res.tick = now;
for (size_t i = 0; i < usages.size(); ++i) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment