summaryrefslogtreecommitdiff
path: root/indra/llcommon/llpointer.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-18 22:23:30 -0400
committerOz Linden <oz@lindenlab.com>2012-06-18 22:23:30 -0400
commitd7400ae60c0453e111357abfb09d8308adf8b721 (patch)
treecfbbc175c4df5d0929ad923c5c52489b8d87fb75 /indra/llcommon/llpointer.h
parentd500379cea865e4a6958eee82b5615ace61036c4 (diff)
parent9cac312f57391792e9fce380c2c38ae4060ae1d7 (diff)
merge to pathfinding development branch
Diffstat (limited to 'indra/llcommon/llpointer.h')
-rw-r--r--indra/llcommon/llpointer.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/llpointer.h b/indra/llcommon/llpointer.h
index affa040602..88c09c8dca 100644
--- a/indra/llcommon/llpointer.h
+++ b/indra/llcommon/llpointer.h
@@ -140,6 +140,10 @@ public:
}
protected:
+#ifdef LL_LIBRARY_INCLUDE
+ void ref();
+ void unref();
+#else
void ref()
{
if (mPointer)
@@ -162,7 +166,7 @@ protected:
}
}
}
-
+#endif
protected:
Type* mPointer;
};