summaryrefslogtreecommitdiff
path: root/tools/qa/cppunit/test_time.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qa/cppunit/test_time.cxx')
-rw-r--r--tools/qa/cppunit/test_time.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qa/cppunit/test_time.cxx b/tools/qa/cppunit/test_time.cxx
index a21f98d7b4d3..4f7ca73fe4e1 100644
--- a/tools/qa/cppunit/test_time.cxx
+++ b/tools/qa/cppunit/test_time.cxx
@@ -31,7 +31,7 @@ void TimeTest::testTime()
Time aOrigTime(1, 56, 10);
auto nMS = aOrigTime.GetMSFromTime();
- Time aNewTime(0);
+ Time aNewTime(tools::Time::EMPTY);
aNewTime.MakeTimeFromMS(nMS);
CPPUNIT_ASSERT(bool(aOrigTime == aNewTime));