From a209741aaf8d0ece778e1e2b9e5a8d1632339ad2 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 2 Sep 2014 23:37:02 -0500 Subject: use the 'override' keyword in the new planner class declarations --- include/datetime/planner-aggregate.h | 2 +- include/datetime/planner-snooze.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/datetime') diff --git a/include/datetime/planner-aggregate.h b/include/datetime/planner-aggregate.h index eeca9b7..892e71a 100644 --- a/include/datetime/planner-aggregate.h +++ b/include/datetime/planner-aggregate.h @@ -38,7 +38,7 @@ public: virtual ~AggregatePlanner(); void add(const std::shared_ptr&); - core::Property>& appointments(); + core::Property>& appointments() override; protected: class Impl; diff --git a/include/datetime/planner-snooze.h b/include/datetime/planner-snooze.h index 889c4f8..e2619fa 100644 --- a/include/datetime/planner-snooze.h +++ b/include/datetime/planner-snooze.h @@ -41,7 +41,7 @@ public: ~SnoozePlanner(); void add(const Appointment&); - core::Property>& appointments(); + core::Property>& appointments() override; protected: class Impl; -- cgit v1.2.3