aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/clock-mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/datetime/clock-mock.h')
-rw-r--r--include/datetime/clock-mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime/clock-mock.h b/include/datetime/clock-mock.h
index 84fd860..011d079 100644
--- a/include/datetime/clock-mock.h
+++ b/include/datetime/clock-mock.h
@@ -39,7 +39,7 @@ public:
explicit MockClock(const DateTime& dt): m_localtime(dt) {}
~MockClock() =default;
- DateTime localtime() const { return m_localtime; }
+ DateTime localtime() const override { return m_localtime; }
void set_localtime(const DateTime& dt)
{