Update to build on Xcode 6.0: fix Boost intrusive_ptr scoping issue (part 2 - tidy up)

master
callum_linden 2014-10-17 20:24:58 -07:00
parent b23afb709d
commit 3d35d2f78d
1 changed files with 16 additions and 20 deletions

View File

@ -151,29 +151,25 @@ private:
* intrusive pointer support for LLThreadSafeRefCount
* this allows you to use boost::intrusive_ptr with any LLThreadSafeRefCount-derived type
*/
// namespace boost
// {
inline void intrusive_ptr_add_ref(LLThreadSafeRefCount* p)
{
p->ref();
}
inline void intrusive_ptr_release(LLThreadSafeRefCount* p)
{
p->unref();
}
inline void intrusive_ptr_add_ref(LLThreadSafeRefCount* p)
{
p->ref();
}
inline void intrusive_ptr_add_ref(LLRefCount* p)
{
p->ref();
}
inline void intrusive_ptr_release(LLRefCount* p)
{
p->unref();
}
//};
inline void intrusive_ptr_release(LLThreadSafeRefCount* p)
{
p->unref();
}
inline void intrusive_ptr_add_ref(LLRefCount* p)
{
p->ref();
}
inline void intrusive_ptr_release(LLRefCount* p)
{
p->unref();
}
#endif