mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-29 15:58:33 +00:00
Use empty instead of size
This commit is contained in:
parent
363ce67459
commit
49fe9f5db1
28 changed files with 56 additions and 56 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue