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:
rich_sposato 2007-01-12 01:10:22 +00:00
parent 347e1f95f8
commit 68f59e4e58

View file

@ -589,8 +589,6 @@ protected:
return m_counts->GetPointerRef();
}
public:
inline void * GetPointer( void ) const
{
return m_counts->GetPointer();
@ -623,18 +621,6 @@ private:
class LOKI_EXPORT LockableTwoRefCounts
{
public:
inline void Lock( void ) const
{
m_counts->Lock();
}
inline void Unlock( void ) const
{
m_counts->Unlock();
}
protected:
explicit LockableTwoRefCounts( bool strong );
@ -647,6 +633,16 @@ protected:
Increment( strong );
}
inline void Lock( void ) const
{
m_counts->Lock();
}
inline void Unlock( void ) const
{
m_counts->Unlock();
}
inline bool Release( bool strong )
{
return Decrement( strong );