From 50cb0f9b78c3747325cd0b36d26adec28e66f475 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sat, 11 Jun 2011 09:48:16 -0400 Subject: [PATCH] More warning fixes. --- src/RageThreads.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RageThreads.cpp b/src/RageThreads.cpp index 1396fb869b..4d502a8a94 100644 --- a/src/RageThreads.cpp +++ b/src/RageThreads.cpp @@ -525,7 +525,7 @@ static set *g_FreeMutexIDs = NULL; #endif RageMutex::RageMutex( const RString &name ): - m_sName( name ), m_pMutex( MakeMutex (this ) ), + m_pMutex( MakeMutex (this ) ), m_sName(name), m_LockedBy(GetInvalidThreadId()), m_LockCnt(0) { @@ -732,7 +732,7 @@ bool RageEvent::WaitTimeoutSupported() const } RageSemaphore::RageSemaphore( RString sName, int iInitialValue ): - m_sName( sName ), m_pSema(MakeSemaphore( iInitialValue )) {} + m_pSema(MakeSemaphore( iInitialValue )), m_sName(sName) {} RageSemaphore::~RageSemaphore() {