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
+5 -5
View File
@@ -613,7 +613,7 @@ RageSoundParams::StopMode_t RageSound::GetStopMode() const
if( m_Param.StopMode != RageSoundParams::M_AUTO )
return m_Param.StopMode;
if( m_sFilePath.find("loop") != string::npos )
if( m_sFilePath.find("loop") != std::string::npos )
return RageSoundParams::M_LOOP;
else
return RageSoundParams::M_STOP;
@@ -621,19 +621,19 @@ RageSoundParams::StopMode_t RageSound::GetStopMode() const
void RageSound::SetStopModeFromString( const RString &sStopMode )
{
if( sStopMode.find("stop") != string::npos )
if( sStopMode.find("stop") != std::string::npos )
{
m_Param.StopMode = RageSoundParams::M_STOP;
}
else if( sStopMode.find("loop") != string::npos )
else if( sStopMode.find("loop") != std::string::npos )
{
m_Param.StopMode = RageSoundParams::M_LOOP;
}
else if( sStopMode.find("continue") != string::npos )
else if( sStopMode.find("continue") != std::string::npos )
{
m_Param.StopMode = RageSoundParams::M_CONTINUE;
}
else if( sStopMode.find("auto") != string::npos )
else if( sStopMode.find("auto") != std::string::npos )
{
m_Param.StopMode = RageSoundParams::M_AUTO;
}