Made functions protected instead of public.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@803 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
347e1f95f8
commit
68f59e4e58
1 changed files with 10 additions and 14 deletions
|
@ -589,8 +589,6 @@ protected:
|
||||||
return m_counts->GetPointerRef();
|
return m_counts->GetPointerRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
inline void * GetPointer( void ) const
|
inline void * GetPointer( void ) const
|
||||||
{
|
{
|
||||||
return m_counts->GetPointer();
|
return m_counts->GetPointer();
|
||||||
|
@ -623,18 +621,6 @@ private:
|
||||||
|
|
||||||
class LOKI_EXPORT LockableTwoRefCounts
|
class LOKI_EXPORT LockableTwoRefCounts
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
|
|
||||||
inline void Lock( void ) const
|
|
||||||
{
|
|
||||||
m_counts->Lock();
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void Unlock( void ) const
|
|
||||||
{
|
|
||||||
m_counts->Unlock();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
explicit LockableTwoRefCounts( bool strong );
|
explicit LockableTwoRefCounts( bool strong );
|
||||||
|
@ -647,6 +633,16 @@ protected:
|
||||||
Increment( strong );
|
Increment( strong );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void Lock( void ) const
|
||||||
|
{
|
||||||
|
m_counts->Lock();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void Unlock( void ) const
|
||||||
|
{
|
||||||
|
m_counts->Unlock();
|
||||||
|
}
|
||||||
|
|
||||||
inline bool Release( bool strong )
|
inline bool Release( bool strong )
|
||||||
{
|
{
|
||||||
return Decrement( strong );
|
return Decrement( strong );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue