summaryrefslogtreecommitdiff
path: root/indra/llinventory/llsettingswater.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-08-16 21:38:49 +0100
committerGraham Linden <graham@lindenlab.com>2018-08-16 21:38:49 +0100
commit5ddd9d0c977bea070008baefdb452e808077f98c (patch)
treed7eaee8b9b35329dae0bc8f706e503ba35873e1c /indra/llinventory/llsettingswater.h
parentaa03fe54cc35cac760a20b5c9e9ab6c84a7b38e5 (diff)
Make settings vfuncs use SETTINGS_OVERRIDE macro (override keyword in viewer codebase) to fix OS X compilation.
Mark cloning funcs and derived class overrides as const.
Diffstat (limited to 'indra/llinventory/llsettingswater.h')
-rw-r--r--indra/llinventory/llsettingswater.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llinventory/llsettingswater.h b/indra/llinventory/llsettingswater.h
index b525912898..b33b082bbf 100644
--- a/indra/llinventory/llsettingswater.h
+++ b/indra/llinventory/llsettingswater.h
@@ -55,7 +55,7 @@ public:
LLSettingsWater(const LLSD &data);
virtual ~LLSettingsWater() { };
- virtual ptr_t buildClone() = 0;
+ virtual ptr_t buildClone() const = 0;
//---------------------------------------------------------------------
virtual std::string getSettingsType() const SETTINGS_OVERRIDE { return std::string("water"); }
@@ -226,7 +226,7 @@ public:
static LLSD translateLegacySettings(LLSD legacy);
- virtual LLSettingsBase::ptr_t buildDerivedClone() SETTINGS_OVERRIDE { return buildClone(); }
+ virtual LLSettingsBase::ptr_t buildDerivedClone() const SETTINGS_OVERRIDE { return buildClone(); }
static LLUUID GetDefaultAssetId();
static LLUUID GetDefaultWaterNormalAssetId();