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
+1 -1
View File
@@ -13,7 +13,7 @@ LoadingWindow *LoadingWindow::Create()
#endif
// Don't load nullptr by default.
const RString drivers = "win32,macosx,gtk";
vector<RString> DriversToTry;
std::vector<RString> DriversToTry;
split( drivers, ",", DriversToTry, true );
ASSERT( DriversToTry.size() != 0 );
@@ -134,7 +134,7 @@ void LoadingWindow_MacOSX::SetSplash( const RageSurface *pSplash )
{
RageFile f;
RString data;
vector<RString> vs;
std::vector<RString> vs;
// Try to load a custom splash from the current theme, first.
GetDirListing( THEME->GetPathG( "Common", "splash"), vs, false, true );
@@ -87,7 +87,7 @@ INT_PTR CALLBACK LoadingWindow_Win32::WndProc( HWND hWnd, UINT msg, WPARAM wPara
{
case WM_INITDIALOG:
{
vector<RString> vs;
std::vector<RString> vs;
GetDirListing( "Data/splash*.png", vs, false, true );
if( !vs.empty() )
g_hBitmap = LoadWin32Surface( vs[0], hWnd );
@@ -176,7 +176,7 @@ void LoadingWindow_Win32::Paint()
void LoadingWindow_Win32::SetText( RString sText )
{
vector<RString> asMessageLines;
std::vector<RString> asMessageLines;
split( sText, "\n", asMessageLines, false );
while( asMessageLines.size() < 3 )
asMessageLines.push_back( "" );