diff --git a/ParameterLib/GroupBasedParameter.cpp b/ParameterLib/GroupBasedParameter.cpp index b6d4a3f7247892dc9249d822a214ff0f97e8ef68..a7417f3e05b534e3ceb10141744842725ce9b506 100644 --- a/ParameterLib/GroupBasedParameter.cpp +++ b/ParameterLib/GroupBasedParameter.cpp @@ -23,8 +23,8 @@ std::unique_ptr<ParameterBase> createGroupBasedParameter( config.checkConfigParameter("type", "Group"); // get a property vector of group IDs - //! \ogs_file_param{prj__parameters__parameter__Group__group_id_property} std::string const group_id_property_name = + //! \ogs_file_param{prj__parameters__parameter__Group__group_id_property} config.getConfigParameter<std::string>("group_id_property"); DBUG("Using group_id_property %s", group_id_property_name.c_str()); diff --git a/ParameterLib/MeshElementParameter.cpp b/ParameterLib/MeshElementParameter.cpp index 0968906ca777329eafcbd03ac847778797ff9438..20f96ca892809c7b2e930568fc7c655c8b58147a 100644 --- a/ParameterLib/MeshElementParameter.cpp +++ b/ParameterLib/MeshElementParameter.cpp @@ -19,8 +19,8 @@ std::unique_ptr<ParameterBase> createMeshElementParameter( { //! \ogs_file_param{prj__parameters__parameter__type} config.checkConfigParameter("type", "MeshElement"); - //! \ogs_file_param{prj__parameters__parameter__MeshElement__field_name} auto const field_name = + //! \ogs_file_param{prj__parameters__parameter__MeshElement__field_name} config.getConfigParameter<std::string>("field_name"); DBUG("Using field_name %s", field_name.c_str()); diff --git a/ParameterLib/MeshNodeParameter.cpp b/ParameterLib/MeshNodeParameter.cpp index 6f360a068c85184c34b17bed3fbd712b3d33b8e8..cec8ae6726e702cb51164ea26b31758690431451 100644 --- a/ParameterLib/MeshNodeParameter.cpp +++ b/ParameterLib/MeshNodeParameter.cpp @@ -19,8 +19,8 @@ std::unique_ptr<ParameterBase> createMeshNodeParameter( { //! \ogs_file_param{prj__parameters__parameter__type} config.checkConfigParameter("type", "MeshNode"); - //! \ogs_file_param{prj__parameters__parameter__MeshNode__field_name} auto const field_name = + //! \ogs_file_param{prj__parameters__parameter__MeshNode__field_name} config.getConfigParameter<std::string>("field_name"); DBUG("Using field_name %s", field_name.c_str());