Back out clearly inconsequential/useless .reserve() calls

This commit is contained in:
Henrik Rydgård
2023-12-29 08:27:56 +01:00
parent c97d5ef23f
commit 126d88ecfc
25 changed files with 14 additions and 61 deletions
-1
View File
@@ -43,7 +43,6 @@ std::vector<InputMapping> tabRightKeys;
static std::unordered_map<InputDeviceID, int> uiFlipAnalogY;
static void AppendKeys(std::vector<InputMapping> &keys, const std::vector<InputMapping> &newKeys) {
keys.reserve(newKeys.size());
for (auto iter = newKeys.begin(); iter != newKeys.end(); ++iter) {
keys.push_back(*iter);
}