summaryrefslogtreecommitdiff
path: root/indra/llui/llhandle.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-09 13:19:46 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-09 13:19:46 +0000
commitd0d1534e34a544a2a2acc9993421f587bb4f6ede (patch)
tree99eb3d9b83bcbcaaedf3413aa2eecbf3cf329fbe /indra/llui/llhandle.h
parentdf50590145a835531a9539a96e8349f910161f53 (diff)
parent7b029036339ae1770307ff33ccd5d540e2618748 (diff)
merge from viewer-2-0
Diffstat (limited to 'indra/llui/llhandle.h')
-rw-r--r--indra/llui/llhandle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llhandle.h b/indra/llui/llhandle.h
index 899f6b9326..8ade327044 100644
--- a/indra/llui/llhandle.h
+++ b/indra/llui/llhandle.h
@@ -67,6 +67,13 @@ public:
return *this;
}
+ template<typename Subclass>
+ LLHandle<T>& operator =(const LLHandle<Subclass>& other)
+ {
+ mTombStone = other.mTombStone;
+ return *this;
+ }
+
bool isDead() const
{
return mTombStone->getTarget() == NULL;