summaryrefslogtreecommitdiff
path: root/indra/llxuixml/llinitparam.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-11-10 16:02:57 -0800
committerRichard Linden <none@none>2011-11-10 16:02:57 -0800
commit0c9d8d917a4281e2dea7fa2044e86735caca2aa9 (patch)
tree6b77b3c5292cc176ee6f460522cbede04920bf3d /indra/llxuixml/llinitparam.h
parent7e6e3d20f334547d8cea78e8e0b37106efebe028 (diff)
fixed build
fixed handle downcast not initiating handle
Diffstat (limited to 'indra/llxuixml/llinitparam.h')
-rw-r--r--indra/llxuixml/llinitparam.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llxuixml/llinitparam.h b/indra/llxuixml/llinitparam.h
index 169a724bca..f5f6876736 100644
--- a/indra/llxuixml/llinitparam.h
+++ b/indra/llxuixml/llinitparam.h
@@ -671,6 +671,7 @@ namespace LLInitParam
self_t& operator =(const self_t& other)
{
mValue = other.mValue;
+ return *this;
}
private:
@@ -741,6 +742,7 @@ namespace LLInitParam
self_t& operator =(const self_t& other)
{
*(static_cast<T*>(this)) = other;
+ return *this;
}
protected:
mutable S32 mValidatedVersion;