App: modernize C++: return braced init list
This commit is contained in:
@@ -36,7 +36,7 @@ using namespace App;
|
||||
// returns a string which represent the object e.g. when printed in python
|
||||
std::string GroupExtensionPy::representation() const
|
||||
{
|
||||
return std::string("<group extension object>");
|
||||
return {"<group extension object>"};
|
||||
}
|
||||
|
||||
PyObject* GroupExtensionPy::newObject(PyObject *args)
|
||||
|
||||
Reference in New Issue
Block a user