We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f34a51 commit e08859eCopy full SHA for e08859e
1 file changed
test/testtimer.cpp
@@ -35,10 +35,10 @@ class TestTimer : public TestFixture {
35
36
void result() const {
37
TimerResultsData t1;
38
- t1._clocks = ~(std::clock_t)0;
+ t1.mClocks = ~(std::clock_t)0;
39
ASSERT(t1.seconds() > 100.0);
40
41
- t1._clocks = CLOCKS_PER_SEC * 5 / 2;
+ t1.mClocks = CLOCKS_PER_SEC * 5 / 2;
42
ASSERT(std::fabs(t1.seconds()-2.5) < 0.01);
43
}
44
};
0 commit comments