From b3d8778a52576b66ab00b08aa939612136a49a01 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 17 Sep 2014 11:51:51 -0500 Subject: fix flint++ warnings --- include/notifications/awake.h | 2 +- include/notifications/haptic.h | 2 +- include/notifications/notifications.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/notifications') 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() */ -- cgit v1.2.3