Import: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:04:20 +02:00
parent 9383d2d0aa
commit 0e444a554d
4 changed files with 6 additions and 6 deletions

View File

@@ -534,7 +534,7 @@ private:
auto vp = Gui::Application::Instance->getViewProvider(obj);
if(vp)
return vp->getElementColors(subname);
return std::map<std::string,App::Color>();
return {};
}
Py::Object exportOptions(const Py::Tuple& args)