summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-10-03 16:02:22 -0500
committerDave Parks <davep@lindenlab.com>2012-10-03 16:02:22 -0500
commit6b0fe3258a43159a0b2751cedae4d36bb9c09436 (patch)
tree04e453fb45021cce7cd747793bf630eb979aae53 /indra/llcommon
parent20e1f567d5c09df10fe120fde0d5f294eff0fff4 (diff)
Fix for mac/linux build
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/llthread.h b/indra/llcommon/llthread.h
index 892e144911..115bf47553 100644
--- a/indra/llcommon/llthread.h
+++ b/indra/llcommon/llthread.h
@@ -234,7 +234,7 @@ protected:
public:
LLThreadSafeRefCount();
LLThreadSafeRefCount(const LLThreadSafeRefCount&);
- LLThreadSafeRefCount&operator=(const LLThreadSafeRefCount& ref)
+ LLThreadSafeRefCount& operator=(const LLThreadSafeRefCount& ref)
{
if (sMutex)
{
@@ -245,6 +245,7 @@ public:
{
sMutex->unlock();
}
+ return *this;
}