aboutsummaryrefslogtreecommitdiff
path: root/tests/test-timezones.cpp
diff options
context:
space:
mode:
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());