Points: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:29:11 +02:00
parent c8abd4a6d4
commit 5754d063e9
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ using namespace Points;
// returns a string which represents the object e.g. when printed in python
std::string PointsPy::representation() const
{
return std::string("<PointKernel object>");
return {"<PointKernel object>"};
}
PyObject *PointsPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper