Part: modernize C++: return braced init list

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

View File

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