summaryrefslogtreecommitdiff
path: root/indra/llui/llhandle.h
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-03-05 16:21:45 -0800
committerEli Linden <eli@lindenlab.com>2010-03-05 16:21:45 -0800
commit64b5c53156ce3115652e094be25a3e165512ffca (patch)
treeca0e1a0c54fb61285056f04ba5f8758312049fd3 /indra/llui/llhandle.h
parentf92a3add5910103e910ad993c3b09a26cc0d2d59 (diff)
parenta3fa96ff0eeb3691f38e82ad4a245db8049dfddd (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;