remove some GCC warnings and update Makefile

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1117 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2011-09-29 19:56:39 +00:00
parent 4ac9e4f44d
commit 647e6ff06a
7 changed files with 12 additions and 11 deletions

View file

@ -254,7 +254,7 @@ public:
/** Returns true if this mutex was locked within the last count mutexes.
@param count How many recent mutexes to look through to find this mutex.
*/
bool IsRecentLock( unsigned int count ) const volatile;
bool IsRecentLock( std::size_t count ) const volatile;
/// Returns true if this was locked by current thread.
bool IsLockedByCurrentThread( void ) const volatile;

View file

@ -88,7 +88,7 @@ namespace Loki
namespace Private
{
class FixedAllocator;
}; // end namespace Private
} // end namespace Private
/** @class SmallObjAllocator
@ingroup SmallObjectGroupInternal

View file

@ -1468,9 +1468,9 @@ protected:
inline explicit TwoRefLinks( bool strong )
: m_pointer( 0 )
, m_strong( strong )
, m_prev( this )
, m_next( this )
, m_strong( strong )
{
}