aboutsummaryrefslogtreecommitdiff
path: root/include/datetime
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-02 23:37:02 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-02 23:37:02 -0500
commita209741aaf8d0ece778e1e2b9e5a8d1632339ad2 (patch)
tree06729ac2689b7a6a33d8698b006b2f3f754d1a4f /include/datetime
parent7b42ea114c18dab35129a5c98b196ff173892498 (diff)
downloadayatana-indicator-datetime-a209741aaf8d0ece778e1e2b9e5a8d1632339ad2.tar.gz
ayatana-indicator-datetime-a209741aaf8d0ece778e1e2b9e5a8d1632339ad2.tar.bz2
ayatana-indicator-datetime-a209741aaf8d0ece778e1e2b9e5a8d1632339ad2.zip
use the 'override' keyword in the new planner class declarations
Diffstat (limited to 'include/datetime')
-rw-r--r--include/datetime/planner-aggregate.h2
-rw-r--r--include/datetime/planner-snooze.h2
2 files changed, 2 insertions, 2 deletions
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<Planner>&);
- core::Property<std::vector<Appointment>>& appointments();
+ core::Property<std::vector<Appointment>>& 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<std::vector<Appointment>>& appointments();
+ core::Property<std::vector<Appointment>>& appointments() override;
protected:
class Impl;