mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-31 22:55:44 +00:00
Merge pull request #7798 from ShFil119/impr/empty
Use empty instead of size
This commit is contained in:
commit
8d59d1bb11
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