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 --- tests/glib-fixture.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'tests/glib-fixture.h') diff --git a/tests/glib-fixture.h b/tests/glib-fixture.h index 1914b8c..f888c59 100644 --- a/tests/glib-fixture.h +++ b/tests/glib-fixture.h @@ -17,6 +17,9 @@ * with this program. If not, see . */ +#ifndef INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H +#define INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H + #include #include @@ -29,6 +32,10 @@ class GlibFixture : public ::testing::Test { + public: + + virtual ~GlibFixture() =default; + private: //GLogFunc realLogHandler; @@ -59,7 +66,7 @@ class GlibFixture : public ::testing::Test protected: - virtual void SetUp() + virtual void SetUp() override { setlocale(LC_ALL, "C.UTF-8"); @@ -76,7 +83,7 @@ class GlibFixture : public ::testing::Test } - virtual void TearDown() + virtual void TearDown() override { #if 0 // confirm there aren't any unexpected log messages @@ -136,3 +143,5 @@ class GlibFixture : public ::testing::Test GMainLoop * loop; }; + +#endif /* INDICATOR_DATETIME_TESTS_GLIB_FIXTURE_H */ -- cgit v1.2.3