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
@@ -33,9 +33,9 @@ RageSurface *RageSurface_Load_XPM( char * const *xpm, RString &error )
return nullptr;
}
vector<RageSurfaceColor> colors;
std::vector<RageSurfaceColor> colors;
map<RString,int> name_to_color;
std::map<RString, int> name_to_color;
for( int i = 0; i < num_colors; ++i )
{
CheckLine();
@@ -94,7 +94,7 @@ RageSurface *RageSurface_Load_XPM( char * const *xpm, RString &error )
for( int x = 0; x < width; ++x )
{
RString color_name = row.substr( x*color_length, color_length );
map<RString,int>::const_iterator it;
std::map<RString, int>::const_iterator it;
it = name_to_color.find( color_name );
if( it == name_to_color.end() )
{