aboutsummaryrefslogtreecommitdiff
path: root/tests/glib-fixture.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-10-06 14:54:15 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-10-06 14:54:15 -0500
commit5e05830765bdcae09db297918d3aa0620371ccf3 (patch)
tree59c7ec75a0f03cf091ad5c0dc20210ecd48ff0a4 /tests/glib-fixture.h
parent460f8cc1f9e58f81566f289e5e01e8e598f38228 (diff)
downloadayatana-indicator-display-5e05830765bdcae09db297918d3aa0620371ccf3.tar.gz
ayatana-indicator-display-5e05830765bdcae09db297918d3aa0620371ccf3.tar.bz2
ayatana-indicator-display-5e05830765bdcae09db297918d3aa0620371ccf3.zip
fix warnings reported by flint++ -- explicit ctors, classes with virtual methods but no virtual dtor, #ifdef include guards
Diffstat (limited to 'tests/glib-fixture.h')
-rw-r--r--tests/glib-fixture.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h
index a8f3a76..d60a038 100644
--- a/tests/glib-fixture.h
+++ b/tests/glib-fixture.h
@@ -17,6 +17,9 @@
* Charles Kerr <charles.kerr@canonical.com>
*/
+#ifndef INDICATOR_TESTS_GLIB_FIXTURE_H
+#define INDICATOR_TESTS_GLIB_FIXTURE_H
+
#include <map>
#include <glib.h>
@@ -140,4 +143,10 @@ class GlibFixture : public ::testing::Test
}
GMainLoop * loop;
+
+ public:
+
+ virtual ~GLibFixture() =default;
};
+
+#endif /* INDICATOR_TESTS_GLIB_FIXTURE_H */