mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Use empty instead of size
This commit is contained in:
@ -126,7 +126,7 @@ ciface::Core::Device::Control* InputReference::Detect(const unsigned int ms,
|
||||
unsigned int time = 0;
|
||||
std::vector<bool> states(device->Inputs().size());
|
||||
|
||||
if (device->Inputs().size() == 0)
|
||||
if (device->Inputs().empty())
|
||||
return nullptr;
|
||||
|
||||
// get starting state of all inputs,
|
||||
|
Reference in New Issue
Block a user