mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
[Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17
This commit is contained in:
1 parent
a6dbb4dfdb
commit
45429bcd85
12 files changed
+54
-72
No files matched your search
@@ -42,8 +42,8 @@ std::vector<InputMapping> tabRightKeys;
|
||||
static std::unordered_map<InputDeviceID, int> uiFlipAnalogY;
|
||||
|
||||
static void AppendKeys(std::vector<InputMapping> &keys, const std::vector<InputMapping> &newKeys) {
|
||||
for (auto iter = newKeys.begin(); iter != newKeys.end(); ++iter) {
|
||||
keys.push_back(*iter);
|
||||
for (auto key : newKeys) {
|
||||
keys.push_back(key);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user