App: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-17 13:15:08 +02:00
committed by wwmayer
parent 59760c723f
commit af8c05c507
34 changed files with 70 additions and 74 deletions

View File

@@ -33,10 +33,9 @@ using namespace App;
// returns a string which represents the object e.g. when printed in python
std::string GeoFeatureGroupExtensionPy::representation() const
{
return std::string("<GeoFeatureGroup object>");
return {"<GeoFeatureGroup object>"};
}
PyObject *GeoFeatureGroupExtensionPy::getCustomAttributes(const char* /*attr*/) const
{
return nullptr;