diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-19 14:34:50 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-09-19 14:34:50 +0000 |
commit | 16a4e034c30f2bc6b151b04707d3ec1a490dba44 (patch) | |
tree | f726165c9979fcb13ce478fd2dafa1ae1efad52b /include/notifications | |
parent | ac54aebec5fa0ba95fb2d583316c0a64ce3384dd (diff) | |
parent | b3d8778a52576b66ab00b08aa939612136a49a01 (diff) | |
download | ayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.tar.gz ayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.tar.bz2 ayatana-indicator-datetime-16a4e034c30f2bc6b151b04707d3ec1a490dba44.zip |
Fix flint++ warnings
Approved by: Ted Gould, PS Jenkins bot
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() */ |