Mod: use emplace_back

This commit is contained in:
berniev
2022-08-05 16:06:37 +10:00
committed by wwmayer
parent 066656f62a
commit 47ac049e14
65 changed files with 254 additions and 265 deletions

View File

@@ -125,7 +125,7 @@ std::vector<std::string> ViewProviderPage::getDisplayModes(void) const
{
// get the modes of the father
std::vector<std::string> StrList = ViewProviderDocumentObject::getDisplayModes();
StrList.push_back("Drawing");
StrList.emplace_back("Drawing");
return StrList;
}