Skip to content
Snippets Groups Projects
Verified Commit ab8c8935 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Lars Bilke
Browse files

[PL] Fixed format string errors

parent f19a0aa9
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ std::vector<std::size_t> getIndexVector(std::vector<double> const& data,
if (idx_vec.empty())
{
OGS_FATAL("No matching element {:d} is found in the vector.", value);
OGS_FATAL("No matching element {} is found in the vector.", value);
}
return idx_vec;
......
......@@ -67,8 +67,9 @@ std::unique_ptr<Process> createHeatTransportBHEProcess(
pv_name.find("temperature_BHE") == std::string::npos)
{
OGS_FATAL(
"Found a process variable name '{:s}'. It should be "
"'temperature_soil' or 'temperature_BHE_X'");
"Found a process variable name '{}'. It should be "
"'temperature_soil' or 'temperature_BHE_X'",
pv_name);
}
auto variable = std::find_if(variables.cbegin(), variables.cend(),
[&pv_name](ProcessVariable const& v)
......
......@@ -67,8 +67,9 @@ std::unique_ptr<Process> createHydroMechanicsProcess(
pv_name.find("displacement_jump") != 0)
{
OGS_FATAL(
"Found a process variable name '{:s}'. It should be "
"'displacement' or 'displacement_jumpN' or 'pressure'");
"Found a process variable name '{}'. It should be "
"'displacement' or 'displacement_jumpN' or 'pressure'",
pv_name);
}
auto variable = std::find_if(variables.cbegin(), variables.cend(),
[&pv_name](ProcessVariable const& v)
......
......@@ -60,7 +60,8 @@ std::unique_ptr<Process> createSmallDeformationProcess(
OGS_FATAL(
"Found a process variable name '{:s}'. It should be "
"'displacement' or 'displacement_jumpN' or "
"'displacement_junctionN'");
"'displacement_junctionN'",
pv_name);
}
if (pv_name.find("displacement_jump") == 0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment