diff options
author | Richard Linden <none@none> | 2013-05-29 17:03:45 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-05-29 17:03:45 -0700 |
commit | 174cfa0a7a49110dc2ff13850aa5ff48916711dc (patch) | |
tree | f37413130f8c2628e5c0652458fc4fa4e0a653ba /indra/llcommon/llpointer.h | |
parent | 52e8b2a1a279e13a39a95b32a301780998b8d8c4 (diff) | |
parent | 074c1f1de45f60059c97cf9cfd0bbb9fddbb52c4 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-interesting/
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 |