Part: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:01:36 +02:00
parent 9d780d223a
commit c8abd4a6d4
56 changed files with 128 additions and 128 deletions

View File

@@ -128,7 +128,7 @@ int BuildPlateSurfacePy::PyInit(PyObject* args, PyObject* kwds)
// returns a string which represents the object e.g. when printed in python
std::string BuildPlateSurfacePy::representation() const
{
return std::string("<GeomPlate_BuildPlateSurface object>");
return {"<GeomPlate_BuildPlateSurface object>"};
}
PyObject* BuildPlateSurfacePy::init(PyObject *args)