aboutsummaryrefslogtreecommitdiff
path: root/tests/test-timezones.cpp
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/test-timezones.cpp
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/test-timezones.cpp')
-rw-r--r--tests/test-timezones.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-timezones.cpp b/tests/test-timezones.cpp
index 3f02761..9e5c9cf 100644
--- a/tests/test-timezones.cpp
+++ b/tests/test-timezones.cpp
@@ -52,7 +52,7 @@ TEST_F(TimezonesFixture, ManagerTest)
std::string timezone_geo = "America/Denver";
set_file(timezone_file);
- std::shared_ptr<Settings> settings(new Settings);
+ auto settings = std::make_shared<Settings>();
LiveTimezones z(settings, TIMEZONE_FILE);
wait_msec(500); // wait for the bus to get set up
EXPECT_EQ(timezone_file, z.timezone.get());