summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-07-25 19:54:39 -0700
committerRichard Linden <none@none>2012-07-25 19:54:39 -0700
commit69b57d4ac075db855d88c2ff0e8c580e9e41ebf7 (patch)
treee81e3b656cfd08e2c6a52409ce46dd1f91386128 /indra/llui
parentf6dfd6bf0f3ea0e9b5f56a939867353c393539d6 (diff)
CHUI-252 FIX Deleting an item from object contents in build tools crashes viewer
also improved selection behavior for object contents when deleting/adding items
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llhandle.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/indra/llui/llhandle.h b/indra/llui/llhandle.h
index 37c657dd92..680a1a7f1d 100644
--- a/indra/llui/llhandle.h
+++ b/indra/llui/llhandle.h
@@ -158,13 +158,6 @@ public:
return mHandle;
}
-protected:
- typedef LLHandle<T> handle_type_t;
- LLHandleProvider()
- {
- // provided here to enforce T deriving from LLHandleProvider<T>
- }
-
template <typename U>
LLHandle<U> getDerivedHandle(typename boost::enable_if< typename boost::is_convertible<U*, T*> >::type* dummy = 0) const
{
@@ -173,6 +166,12 @@ protected:
return downcast_handle;
}
+protected:
+ typedef LLHandle<T> handle_type_t;
+ LLHandleProvider()
+ {
+ // provided here to enforce T deriving from LLHandleProvider<T>
+ }
private:
mutable LLRootHandle<T> mHandle;