diff options
| author | Richard Linden <none@none> | 2013-05-29 17:02:27 -0700 |
|---|---|---|
| committer | Richard Linden <none@none> | 2013-05-29 17:02:27 -0700 |
| commit | 074c1f1de45f60059c97cf9cfd0bbb9fddbb52c4 (patch) | |
| tree | b6878ceb0bba0f8d54a514d2ba741812f0c73e51 /indra/llcommon/llpointer.h | |
| parent | 9ae76d12157641033431381959ef4f798a119b8d (diff) | |
SH-3931 WIP Interesting: Add graphs to visualize scene load metrics
made LLCopyOnWritePointer enforce write access through write() again
disabled some error checking on release for download builds
Diffstat (limited to 'indra/llcommon/llpointer.h')
| -rw-r--r-- | indra/llcommon/llpointer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llpointer.h b/indra/llcommon/llpointer.h index c83e55577d..e640ffd595 100644 --- a/indra/llcommon/llpointer.h +++ b/indra/llcommon/llpointer.h @@ -196,6 +196,9 @@ public: *(pointer_t*)(this) = new Type(*pointer_t::mPointer); } } + + const Type* operator->() const { return pointer_t::mPointer; } + const Type& operator*() const { return *pointer_t::mPointer; } }; #endif |
