App: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-17 13:15:08 +02:00
committed by wwmayer
parent 59760c723f
commit af8c05c507
34 changed files with 70 additions and 74 deletions

View File

@@ -32,7 +32,7 @@ using namespace App;
// returns a string which represents the object e.g. when printed in python
std::string PartPy::representation() const
{
return std::string("<Part object>");
return {"<Part object>"};
}
PyObject *PartPy::getCustomAttributes(const char* /*attr*/) const