diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-04-03 12:31:36 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-04-03 12:31:36 -0500 |
commit | eab70c8626906fcf98f5d5653a8ea1bebd2cfc89 (patch) | |
tree | a467d185ffad9cd2eb6f743a5119b6d41b93ddea /include | |
parent | fff19d70649589b81a896e4deb032a7bd4bdca1e (diff) | |
download | ayatana-indicator-datetime-eab70c8626906fcf98f5d5653a8ea1bebd2cfc89.tar.gz ayatana-indicator-datetime-eab70c8626906fcf98f5d5653a8ea1bebd2cfc89.tar.bz2 ayatana-indicator-datetime-eab70c8626906fcf98f5d5653a8ea1bebd2cfc89.zip |
add override keyword to WakeupTimer
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime/wakeup-timer-mainloop.h | 4 | ||||
-rw-r--r-- | include/datetime/wakeup-timer-powerd.h | 4 | ||||
-rw-r--r-- | include/datetime/wakeup-timer.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/datetime/wakeup-timer-mainloop.h b/include/datetime/wakeup-timer-mainloop.h index 86da8cf..5acb150 100644 --- a/include/datetime/wakeup-timer-mainloop.h +++ b/include/datetime/wakeup-timer-mainloop.h @@ -41,8 +41,8 @@ class MainloopWakeupTimer: public WakeupTimer public: explicit MainloopWakeupTimer(const std::shared_ptr<Clock>&); ~MainloopWakeupTimer(); - void set_wakeup_time (const DateTime&); - core::Signal<>& timeout(); + void set_wakeup_time (const DateTime&) override; + core::Signal<>& timeout() override; private: MainloopWakeupTimer(const MainloopWakeupTimer&) =delete; diff --git a/include/datetime/wakeup-timer-powerd.h b/include/datetime/wakeup-timer-powerd.h index f11febe..5237fb9 100644 --- a/include/datetime/wakeup-timer-powerd.h +++ b/include/datetime/wakeup-timer-powerd.h @@ -41,8 +41,8 @@ class PowerdWakeupTimer: public WakeupTimer public: explicit PowerdWakeupTimer(const std::shared_ptr<Clock>&); ~PowerdWakeupTimer(); - void set_wakeup_time(const DateTime&); - core::Signal<>& timeout(); + void set_wakeup_time(const DateTime&) override; + core::Signal<>& timeout() override; private: PowerdWakeupTimer(const PowerdWakeupTimer&) =delete; diff --git a/include/datetime/wakeup-timer.h b/include/datetime/wakeup-timer.h index 0a9923c..3e5344c 100644 --- a/include/datetime/wakeup-timer.h +++ b/include/datetime/wakeup-timer.h @@ -41,7 +41,7 @@ public: WakeupTimer() =default; virtual ~WakeupTimer() =default; virtual void set_wakeup_time (const DateTime&) =0; - virtual core::Signal<>& timeout() = 0; + virtual core::Signal<>& timeout() =0; }; /*** |