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