Skip to content
Snippets Groups Projects
Commit 8a2b923a authored by renchao.lu's avatar renchao.lu
Browse files

[PL] Use member function of class Range instead.

parent 40e5b68a
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables( ...@@ -70,7 +70,7 @@ std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables(
auto var_names = pv_config.getConfigParameterList<std::string>(tag); auto var_names = pv_config.getConfigParameterList<std::string>(tag);
if (var_names.size() == 0) if (var_names.empty())
OGS_FATAL("Config tag <%s> is not found.", tag.c_str()); OGS_FATAL("Config tag <%s> is not found.", tag.c_str());
// collect variable names to check if there are duplicates // collect variable names to check if there are duplicates
......
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