summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-06-29 15:32:47 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-06-29 15:32:47 -0400
commit8bd39583fe19eb8f372f59f9aaee6d7c16a6f4e1 (patch)
treebe2aa039b19074af78f35a8acd11be21f24043fb /indra
parentda7b675025ef1a9b884b54340d207e7bc77d36af (diff)
MAINT-4952: Fix misplaced comments on intrusive_ptr_etc() overloads.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/llcommon/llrefcount.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/indra/llcommon/llrefcount.h b/indra/llcommon/llrefcount.h
index 3836a9b5fb..1107973569 100755
--- a/indra/llcommon/llrefcount.h
+++ b/indra/llcommon/llrefcount.h
@@ -144,14 +144,9 @@ private:
};
/**
- * intrusive pointer support
- * this allows you to use boost::intrusive_ptr with any LLRefCount-derived type
- */
-/**
* intrusive pointer support for LLThreadSafeRefCount
* this allows you to use boost::intrusive_ptr with any LLThreadSafeRefCount-derived type
*/
-
inline void intrusive_ptr_add_ref(LLThreadSafeRefCount* p)
{
p->ref();
@@ -162,6 +157,10 @@ inline void intrusive_ptr_release(LLThreadSafeRefCount* p)
p->unref();
}
+/**
+ * intrusive pointer support
+ * this allows you to use boost::intrusive_ptr with any LLRefCount-derived type
+ */
inline void intrusive_ptr_add_ref(LLRefCount* p)
{
p->ref();