Replace more Move/Forward with STL variants.

This commit is contained in:
David Anderson
2020-05-19 12:56:28 -07:00
parent 7a3e4054c7
commit 301bafa3f5
11 changed files with 28 additions and 23 deletions
+2 -2
View File
@@ -640,7 +640,7 @@ bool CBaseMenu::AppendItem(const char *info, const ItemDrawInfo &draw)
item.display = std::make_unique<ke::AString>(draw.display);
item.style = draw.style;
m_items.append(ke::Move(item));
m_items.append(std::move(item));
return true;
}
@@ -661,7 +661,7 @@ bool CBaseMenu::InsertItem(unsigned int position, const char *info, const ItemDr
item.display = std::make_unique<ke::AString>(draw.display);
item.style = draw.style;
m_items.insert(position, ke::Move(item));
m_items.insert(position, std::move(item));
return true;
}