summaryrefslogtreecommitdiff
path: root/indra/llui/llhandle.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-03-05 15:41:37 -0800
committerRichard Linden <none@none>2010-03-05 15:41:37 -0800
commita3fa96ff0eeb3691f38e82ad4a245db8049dfddd (patch)
treed02718296dfec15284ee94cd647b89084502f213 /indra/llui/llhandle.h
parentf0ea8083ebf207d00c043dd35eddf5ab55e71c0d (diff)
parent27919e106a383ea873b9bf73d2974b40cbe2e603 (diff)
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;