Gui: use emplace_back

This commit is contained in:
berniev
2022-08-05 16:06:02 +10:00
committed by wwmayer
parent ac81a8380f
commit 066656f62a
19 changed files with 52 additions and 52 deletions

View File

@@ -97,7 +97,7 @@ void ViewProviderExtern::setModeBySoInput(const char* name, SoInput &ivFileInput
::iterator,string>(modes.begin(),modes.end(),string(name));
if (pos == modes.end()) {
// new mode
modes.push_back(name);
modes.emplace_back(name);
addDisplayMaskMode(root, name);
setDisplayMaskMode(name);
}