[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:
Herman Semenov authored and Henrik Rydgård committed 2024-09-17 17:42:08 +02:00
1 parent a6dbb4dfdb
commit 45429bcd85
12 files changed
+54 -72

No files matched your search

+2 -2
View File
@@ -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);
}
}