From 6e4367c088eb9026f29295c650f8639e09423212 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 3 Apr 2015 12:36:46 -0500 Subject: add override keyword to Clock class --- include/datetime/clock-mock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/datetime/clock-mock.h') 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) { -- cgit v1.2.3