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