diff options
author | Richard Linden <none@none> | 2011-11-08 13:47:08 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2011-11-08 13:47:08 -0800 |
commit | b6858df0dd9fa06ec8fa56c5ba63925a790b4811 (patch) | |
tree | 9298d771c580d1f98d107571a8eea83ff5875164 /indra/newview/lltoast.h | |
parent | d6d4bfa02a46c5c7f2e5376b9fad79f2624dda83 (diff) |
LLHandle<Derived> is now implicitly convertable to LLHandle<Base> and LLHandle<Base>
can be downcast to LLHandle<Derived> using the LLHandleProvider mixin
Diffstat (limited to 'indra/newview/lltoast.h')
-rw-r--r-- | indra/newview/lltoast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h index 242f786bf2..380c2c391a 100644 --- a/indra/newview/lltoast.h +++ b/indra/newview/lltoast.h @@ -196,7 +196,7 @@ public: virtual S32 notifyParent(const LLSD& info); - LLHandle<LLToast> getHandle() { mHandle.bind(this); return mHandle; } + LLHandle<LLToast> getHandle() const { return getDerivedHandle<LLToast>(); } protected: void updateTransparency(); @@ -215,7 +215,7 @@ private: LLUUID mSessionID; LLNotificationPtr mNotification; - LLRootHandle<LLToast> mHandle; + //LLRootHandle<LLToast> mHandle; LLPanel* mWrapperPanel; |