Mod: use emplace_back

This commit is contained in:
berniev
2022-08-05 16:06:37 +10:00
committed by wwmayer
parent 6ac4d8392e
commit 2d4c5a4cfb
65 changed files with 254 additions and 265 deletions

View File

@@ -153,8 +153,8 @@ const char* ViewProviderFace::getDefaultDisplayMode() const
std::vector<std::string> ViewProviderFace::getDisplayModes() const
{
std::vector<std::string> modes;
modes.push_back("Marker");
modes.push_back("Face");
modes.emplace_back("Marker");
modes.emplace_back("Face");
return modes;
}