Part: modernize C++: return braced init list
This commit is contained in:
@@ -61,7 +61,7 @@ int HLRBRep_AlgoPy::PyInit(PyObject* /*args*/, PyObject* /*kwds*/)
|
||||
// returns a string which represents the object e.g. when printed in python
|
||||
std::string HLRBRep_AlgoPy::representation() const
|
||||
{
|
||||
return std::string("<HLRBRep_Algo object>");
|
||||
return {"<HLRBRep_Algo object>"};
|
||||
}
|
||||
|
||||
PyObject* HLRBRep_AlgoPy::add(PyObject *args)
|
||||
|
||||
Reference in New Issue
Block a user