Part: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:01:36 +02:00
parent e98891859e
commit 0d854a56cd
56 changed files with 128 additions and 128 deletions

View File

@@ -86,7 +86,7 @@ int GeometryStringExtensionPy::PyInit(PyObject* args, PyObject* /*kwd*/)
Py::String GeometryStringExtensionPy::getValue() const
{
return Py::String(this->getGeometryStringExtensionPtr()->getValue());
return {this->getGeometryStringExtensionPtr()->getValue()};
}
void GeometryStringExtensionPy::setValue(Py::String value)