Remove global "using namespace std;" declarations, use "std::" prefixes on all std elements
Fix whitespace changes
This commit is contained in:
committed by
Martin Natano
parent
f0680a29fc
commit
0cba3579de
+2
-2
@@ -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." );
|
||||
|
||||
Reference in New Issue
Block a user