diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-09-17 11:51:51 -0500 |
commit | b3d8778a52576b66ab00b08aa939612136a49a01 (patch) | |
tree | 4dc77aeee18620be145cd1765b8eb0902af40b3e /tests/test-timezones.cpp | |
parent | 790f43bcea23f926f6617e0fe41026a3adaee8cc (diff) | |
download | ayatana-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.cpp | 2 |
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()); |