diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
commit | b3d8778a52576b66ab00b08aa939612136a49a01 (patch) | |
tree | 4dc77aeee18620be145cd1765b8eb0902af40b3e /include/notifications | |
parent | 790f43bcea23f926f6617e0fe41026a3adaee8cc (diff) | |
download | ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.gz ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.bz2 ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.zip |
fix flint++ warnings
Diffstat (limited to 'include/notifications')
-rw-r--r-- | include/notifications/awake.h | 2 | ||||
-rw-r--r-- | include/notifications/haptic.h | 2 | ||||
-rw-r--r-- | include/notifications/notifications.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/notifications/awake.h b/include/notifications/awake.h index fd812c1..bc38817 100644 --- a/include/notifications/awake.h +++ b/include/notifications/awake.h @@ -36,7 +36,7 @@ namespace notifications { class Awake { public: - Awake(const std::string& app_name); + explicit Awake(const std::string& app_name); ~Awake(); private: diff --git a/include/notifications/haptic.h b/include/notifications/haptic.h index bfb5679..f4f1b4d 100644 --- a/include/notifications/haptic.h +++ b/include/notifications/haptic.h @@ -41,7 +41,7 @@ public: MODE_PULSE }; - Haptic(const Mode& mode = MODE_PULSE); + explicit Haptic(const Mode& mode = MODE_PULSE); ~Haptic(); private: diff --git a/include/notifications/notifications.h b/include/notifications/notifications.h index 260b466..eb14c07 100644 --- a/include/notifications/notifications.h +++ b/include/notifications/notifications.h @@ -85,7 +85,7 @@ private: class Engine { public: - Engine(const std::string& app_name); + explicit Engine(const std::string& app_name); ~Engine(); /** @see Builder::set_action() */ |