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); } };