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
+2 -2
View File
@@ -69,14 +69,14 @@ static bool ChangeAppPri()
// if using NTPAD don't boost or else input is laggy
#if defined(_WINDOWS)
{
vector<InputDeviceInfo> vDevices;
std::vector<InputDeviceInfo> vDevices;
// This can get called before INPUTMAN is constructed.
if( INPUTMAN )
{
INPUTMAN->GetDevicesAndDescriptions(vDevices);
if (std::any_of(vDevices.begin(), vDevices.end(), [](InputDeviceInfo const &d) {
return d.sDesc.find("NTPAD") != string::npos;
return d.sDesc.find("NTPAD") != std::string::npos;
}))
{
LOG->Trace( "Using NTPAD. Don't boost priority." );