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-10 18:28:56 +03:00
committed by Martin Natano
parent f0680a29fc
commit 0cba3579de
534 changed files with 3456 additions and 3488 deletions
+4 -4
View File
@@ -111,9 +111,9 @@ RageSoundReader_FileReader *RageSoundReader_FileReader::OpenFile( RString filena
*pPrebuffer = false;
}
}
set<RString> FileTypes;
vector<RString> const& sound_exts= ActorUtil::GetTypeExtensionList(FT_Sound);
for(vector<RString>::const_iterator curr= sound_exts.begin();
std::set<RString> FileTypes;
std::vector<RString> const& sound_exts= ActorUtil::GetTypeExtensionList(FT_Sound);
for(std::vector<RString>::const_iterator curr= sound_exts.begin();
curr != sound_exts.end(); ++curr)
{
FileTypes.insert(*curr);
@@ -135,7 +135,7 @@ RageSoundReader_FileReader *RageSoundReader_FileReader::OpenFile( RString filena
FileTypes.erase( format );
}
for( set<RString>::iterator it = FileTypes.begin(); bKeepTrying && it != FileTypes.end(); ++it )
for( std::set<RString>::iterator it = FileTypes.begin(); bKeepTrying && it != FileTypes.end(); ++it )
{
RageSoundReader_FileReader *NewSample = TryOpenFile( pFile->Copy(), error, *it, bKeepTrying );
if( NewSample )