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