Gui: use emplace_back
This commit is contained in:
@@ -80,9 +80,9 @@ void ViewProviderInventorObject::setDisplayMode(const char* ModeName)
|
||||
std::vector<std::string> ViewProviderInventorObject::getDisplayModes(void) const
|
||||
{
|
||||
std::vector<std::string> StrList;
|
||||
StrList.push_back("File+Buffer");
|
||||
StrList.push_back("Buffer");
|
||||
StrList.push_back("File");
|
||||
StrList.emplace_back("File+Buffer");
|
||||
StrList.emplace_back("Buffer");
|
||||
StrList.emplace_back("File");
|
||||
return StrList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user