Part: modernize C++: return braced init list
This commit is contained in:
@@ -38,7 +38,7 @@ using namespace Part;
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string SurfaceOfRevolutionPy::representation() const
|
||||
{
|
||||
return std::string("<SurfaceOfRevolution object>");
|
||||
return {"<SurfaceOfRevolution object>"};
|
||||
}
|
||||
|
||||
PyObject *SurfaceOfRevolutionPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
|
||||
|
||||
Reference in New Issue
Block a user