summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/src/tests/trace/trace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/src/tests/trace/trace.cpp b/config/src/tests/trace/trace.cpp
index fdb40d40893..41c874eb1d4 100644
--- a/config/src/tests/trace/trace.cpp
+++ b/config/src/tests/trace/trace.cpp
@@ -10,7 +10,7 @@ using namespace vespalib::slime;
struct FixedClock : public Clock
{
- FixedClock() : _currentTime(duration::zero()) { }
+ FixedClock() : _currentTime() { }
vespalib::system_time _currentTime;
vespalib::system_time currentTime() const override { return _currentTime; }
};
@@ -57,7 +57,7 @@ TEST("that trace can be copied") {
EXPECT_EQUAL(trace.toString(), trace2.toString());
}
-constexpr vespalib::system_time epoch(duration::zero());
+constexpr vespalib::system_time epoch;
TEST("ensure that system clock is used by default") {
Trace trace(2);