summaryrefslogtreecommitdiff
path: root/indra/llcommon/llpointer.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-10-12 20:17:52 -0700
committerRichard Linden <none@none>2012-10-12 20:17:52 -0700
commit041dfccd1ea5b59c1b3c4e37e9a5495cad342c8f (patch)
tree27f7785f0cf095ec69816c5ed877ff605dbf6789 /indra/llcommon/llpointer.h
parent0f58ca02cdec62711eadb82ba28fcff08faef2ee (diff)
SH-3405 WIP convert existing stats to lltrace system
default to double precision now fixed unit conversion logic for LLUnit renamed LLTrace::Rate to LLTrace::Count and got rid of the old count as it was confusing some const correctness changes
Diffstat (limited to 'indra/llcommon/llpointer.h')
-rw-r--r--indra/llcommon/llpointer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llpointer.h b/indra/llcommon/llpointer.h
index 0fee4f0990..6a3bbeb768 100644
--- a/indra/llcommon/llpointer.h
+++ b/indra/llcommon/llpointer.h
@@ -207,7 +207,9 @@ public:
using LLPointer<Type>::operator >;
+ operator Type*() { return mPointer; }
operator const Type*() const { return mPointer; }
+ Type* operator->() { return mPointer; }
const Type* operator->() const { return mPointer; }
};