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
+2 -2
View File
@@ -18,7 +18,7 @@ static bool CodePageConvert( RString &sText, int iCodePage )
return false; /* error */
}
wstring sOut;
std::wstring sOut;
sOut.append( iSize, ' ' );
/* Nonportable: */
iSize = MultiByteToWideChar( iCodePage, MB_ERR_INVALID_CHARS, sText.data(), sText.size(), (wchar_t *) sOut.data(), iSize );
@@ -127,7 +127,7 @@ bool ConvertString( RString &str, const RString &encodings )
if( str.empty() )
return true;
vector<RString> lst;
std::vector<RString> lst;
split( encodings, ",", lst );
for(unsigned i = 0; i < lst.size(); ++i)