summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-02-18 05:26:49 -0500
committerLioncash <mathew1800@gmail.com>2017-02-18 06:30:20 -0500
commit2f2aab963ddd04e51544135c637b58ec20aecd41 (patch)
tree657353b7a7589dfea67b3f0a541f1c9b64136b21 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp
parent5814d23fd9bfc0e2bcfb109d5f74763de8ae9b0c (diff)
SymbolDB: Simplify GetSymbolsFromHash
Given a std::map can't have duplicate keys, iterating over the map explicitly isn't necessary, and find() can just be used instead. Also, instead of manually calling push_back() for every entry to be added, the range constructor of std::vector can be used instead to add the whole range all at once.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Buttons.cpp')
0 files changed, 0 insertions, 0 deletions