3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

hopefully fix build with VS 2012

This commit is contained in:
Nuno Lopes 2019-02-21 15:25:26 +00:00
parent 2f33bafd5a
commit 3d7878bafc

View file

@ -31,7 +31,8 @@ class stopwatch
bool m_running = false;
#endif
static std::chrono::time_point<std::chrono::steady_clock> get() {
// FIXME: just use auto with VS 2015+
static decltype(std::chrono::steady_clock::now()) get() {
return std::chrono::steady_clock::now();
}