diff options
Diffstat (limited to 'include/datetime/locations-settings.h')
-rw-r--r-- | include/datetime/locations-settings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/datetime/locations-settings.h b/include/datetime/locations-settings.h index d01cbb5..8757f43 100644 --- a/include/datetime/locations-settings.h +++ b/include/datetime/locations-settings.h @@ -39,12 +39,12 @@ public: * @param[in] settings the #Settings whose locations property is to be used * @param[in] timezones the #Timezones to always show first in the list */ - SettingsLocations (const std::shared_ptr<Settings>& settings, - const std::shared_ptr<Timezones>& timezones); + SettingsLocations (const std::shared_ptr<const Settings>& settings, + const std::shared_ptr<const Timezones>& timezones); private: - std::shared_ptr<Settings> m_settings; - std::shared_ptr<Timezones> m_timezones; + std::shared_ptr<const Settings> m_settings; + std::shared_ptr<const Timezones> m_timezones; void reload(); }; |