Fem: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:02:07 +02:00
parent 50af46b7c9
commit 9383d2d0aa
6 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ using namespace Fem;
// returns a string which represents the object e.g. when printed in python
std::string FemPostPipelinePy::representation() const
{
return std::string("<FemPostPipeline object>");
return {"<FemPostPipeline object>"};
}
PyObject* FemPostPipelinePy::read(PyObject *args)