Refactor to use push_back more efficient (#13726)

This commit is contained in:
skdltmxn authored and GitHub committed 2021-01-08 20:59:55 +00:00
1 parent d53a94861d
commit b0a8ebc808
37 files changed
+71 -88

No files matched your search

+1 -1
View File
@@ -420,7 +420,7 @@ private:
size_t index = _items.size();
auto copy = item;
copy.Id = index;
_items.push_back(copy);
_items.push_back(std::move(copy));
if (!item.Identifier.empty())
{
_newItemMap[item.Identifier] = index;