summaryrefslogtreecommitdiff
path: root/indra/llui/llhandle.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-06 11:15:09 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-06 11:15:09 +0000
commit809a280a51bc8645de7a02c2a3dbe32bc230b93c (patch)
tree2a4d6dbe1fb8d78e77f5f7ce118a5f662788a453 /indra/llui/llhandle.h
parent1889d02569a58d08b6c452e609819a1961bf64e8 (diff)
parent93051dc23cb3252af327a9b113abc45de154ff4e (diff)
viewer2 merge.
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;