From e08859e3299b9ab41d2b7e4b14fdfeb7ce9e444a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 16 Jun 2018 22:28:14 +0200 Subject: [PATCH] Fix testrunner compiling --- test/testtimer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testtimer.cpp b/test/testtimer.cpp index d74196305..25c10b343 100644 --- a/test/testtimer.cpp +++ b/test/testtimer.cpp @@ -35,10 +35,10 @@ private: void result() const { TimerResultsData t1; - t1._clocks = ~(std::clock_t)0; + t1.mClocks = ~(std::clock_t)0; ASSERT(t1.seconds() > 100.0); - t1._clocks = CLOCKS_PER_SEC * 5 / 2; + t1.mClocks = CLOCKS_PER_SEC * 5 / 2; ASSERT(std::fabs(t1.seconds()-2.5) < 0.01); } };