From 5e05830765bdcae09db297918d3aa0620371ccf3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 6 Oct 2014 14:54:15 -0500 Subject: fix warnings reported by flint++ -- explicit ctors, classes with virtual methods but no virtual dtor, #ifdef include guards --- src/exporter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/exporter.h') diff --git a/src/exporter.h b/src/exporter.h index 6367f3a..8867d32 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -17,6 +17,9 @@ * Charles Kerr */ +#ifndef INDICATOR_DISPLAY_EXPORTER_H +#define INDICATOR_DISPLAY_EXPORTER_H + #include #include @@ -26,7 +29,7 @@ class Exporter { public: - Exporter(const std::shared_ptr& indicator); + explicit Exporter(const std::shared_ptr& indicator); ~Exporter(); core::Signal& name_lost(); @@ -38,3 +41,4 @@ private: Exporter& operator=(const Exporter&) =delete; }; +#endif /* INDICATOR_DISPLAY_EXPORTER_H */ -- cgit v1.2.3