Commit bb1fe84d authored by Johan Ouwerkerk's avatar Johan Ouwerkerk Committed by Ragnar Thomsen
Browse files

Port to std::chrono but allow fallback to boost::chrono if unavailable

Port away from boost::chrono to std::chrono. Since std::chrono support
requires C++ 2011 mode on the compiler and since mixed-type arithmetic
using doubles is potentially iffy on certain implementations, a fallback
mechanism to select boost::chrono is provided.

Correct chrono to use is auto-detected, feature-detection implementation
copied from KActivities (thanks to Ivan Cukic for doing all the hard
work of figuring out cmake 'magic'!).

REVIEW: 124615
parent 4203c1a7
Supports Markdown
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