Gui: modernize C++: return braced init list
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string CommandPy::representation() const
|
||||
{
|
||||
return std::string("<Command object>");
|
||||
return {"<Command object>"};
|
||||
}
|
||||
|
||||
PyObject* CommandPy::get(PyObject *args)
|
||||
|
||||
Reference in New Issue
Block a user