Sheet: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:29:49 +02:00
parent 19faa4727d
commit e541c7d3dd
8 changed files with 23 additions and 26 deletions

View File

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