Part: modernize C++: return braced init list
This commit is contained in:
@@ -35,7 +35,7 @@ using namespace PartDesign;
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string BodyPy::representation() const
|
||||
{
|
||||
return std::string("<body object>");
|
||||
return {"<body object>"};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user