summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneleditsky.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpaneleditsky.h')
-rw-r--r--indra/newview/llpaneleditsky.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpaneleditsky.h b/indra/newview/llpaneleditsky.h
index 497c98af1f..56ae9dc7bb 100644
--- a/indra/newview/llpaneleditsky.h
+++ b/indra/newview/llpaneleditsky.h
@@ -45,7 +45,7 @@ class LLPanelSettingsSky : public LLSettingsEditPanel
public:
LLPanelSettingsSky();
- virtual void setSettings(LLSettingsBase::ptr_t &settings) override { setSky(std::static_pointer_cast<LLSettingsSky>(settings)); }
+ virtual void setSettings(const LLSettingsBase::ptr_t &settings) override { setSky(std::static_pointer_cast<LLSettingsSky>(settings)); }
LLSettingsSky::ptr_t getSky() const { return mSkySettings; }
void setSky(const LLSettingsSky::ptr_t &sky) { mSkySettings = sky; refresh(); }