aboutsummaryrefslogtreecommitdiff
path: root/tests/geoclue-fixture.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-17 11:51:51 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-17 11:51:51 -0500
commitb3d8778a52576b66ab00b08aa939612136a49a01 (patch)
tree4dc77aeee18620be145cd1765b8eb0902af40b3e /tests/geoclue-fixture.h
parent790f43bcea23f926f6617e0fe41026a3adaee8cc (diff)
downloadayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.gz
ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.tar.bz2
ayatana-indicator-datetime-b3d8778a52576b66ab00b08aa939612136a49a01.zip
fix flint++ warnings
Diffstat (limited to 'tests/geoclue-fixture.h')
-rw-r--r--tests/geoclue-fixture.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/geoclue-fixture.h b/tests/geoclue-fixture.h
index 0c597d3..d028ec9 100644
--- a/tests/geoclue-fixture.h
+++ b/tests/geoclue-fixture.h
@@ -17,6 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INDICATOR_DATETIME_TESTS_GEOCLUE_FIXTURE_H
+#define INDICATOR_DATETIME_TESTS_GEOCLUE_FIXTURE_H
+
#include "glib-fixture.h"
#include <libdbustest/dbus-test.h>
@@ -39,7 +42,7 @@ class GeoclueFixture : public GlibFixture
DbusTestDbusMockObject * obj_geo_addr = nullptr;
const std::string timezone_1 = "America/Denver";
- void SetUp ()
+ void SetUp () override
{
super::SetUp();
@@ -80,7 +83,7 @@ class GeoclueFixture : public GlibFixture
g_string_free (gstr, TRUE);
}
- virtual void TearDown ()
+ void TearDown () override
{
g_clear_object (&mock);
g_clear_object (&service);
@@ -148,3 +151,4 @@ public:
};
+#endif /* INDICATOR_DATETIME_TESTS_GEOCLUE_FIXTURE_H */