Part: modernize C++: return braced init list
This commit is contained in:
@@ -35,11 +35,9 @@ using namespace Part;
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string Part2DObjectPy::representation() const
|
||||
{
|
||||
return std::string("<Part::Part2DObject>");
|
||||
return {"<Part::Part2DObject>"};
|
||||
}
|
||||
|
||||
|
||||
|
||||
PyObject *Part2DObjectPy::getCustomAttributes(const char* /*attr*/) const
|
||||
{
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user