Fem: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:02:07 +02:00
parent 5f0ec490e6
commit f2b46996d4
6 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ using namespace FemGui;
// returns a string which represents the object e.g. when printed in python
std::string ViewProviderFemPostPipelinePy::representation() const
{
return std::string("<ViewProviderFemPostPipeline object>");
return {"<ViewProviderFemPostPipeline object>"};
}
PyObject *ViewProviderFemPostPipelinePy::updateColorBars(PyObject *args)