Fem: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:02:07 +02:00
parent 5f0ec490e6
commit f2b46996d4
6 changed files with 8 additions and 8 deletions

View File

@@ -21,7 +21,7 @@ using namespace FemGui;
// returns a string which represents the object e.g. when printed in python
std::string ViewProviderFemMeshPy::representation() const
{
return std::string("<ViewProviderFemMesh object>");
return {"<ViewProviderFemMesh object>"};
}