Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements

Fix whitespace changes
This commit is contained in:
Michael Sundqvist
2022-07-31 22:14:38 +02:00
committed by Martin Natano
parent f0680a29fc
commit 0cba3579de
534 changed files with 3456 additions and 3488 deletions
+3 -3
View File
@@ -110,7 +110,7 @@ void RageSoundManager::Update()
/* Scan m_mapPreloadedSounds for sounds that are no longer loaded, and delete them. */
g_SoundManMutex.Lock(); /* lock for access to m_mapPreloadedSounds, owned_sounds */
{
map<RString, RageSoundReader_Preload *>::iterator it, next;
std::map<RString, RageSoundReader_Preload*>::iterator it, next;
it = m_mapPreloadedSounds.begin();
while( it != m_mapPreloadedSounds.end() )
@@ -157,7 +157,7 @@ RageSoundReader *RageSoundManager::GetLoadedSound( const RString &sPath_ )
RString sPath(sPath_);
sPath.MakeLower();
map<RString, RageSoundReader_Preload *>::const_iterator it;
std::map<RString, RageSoundReader_Preload*>::const_iterator it;
it = m_mapPreloadedSounds.find( sPath );
if( it == m_mapPreloadedSounds.end() )
return nullptr;
@@ -176,7 +176,7 @@ void RageSoundManager::AddLoadedSound( const RString &sPath_, RageSoundReader_Pr
* used in GetLoadedSound. */
RString sPath(sPath_);
sPath.MakeLower();
map<RString, RageSoundReader_Preload *>::const_iterator it;
std::map<RString, RageSoundReader_Preload*>::const_iterator it;
it = m_mapPreloadedSounds.find( sPath );
ASSERT_M( it == m_mapPreloadedSounds.end(), sPath );