Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Jul 1, 2024
1 parent 967cea2 commit 2b657ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver/hydro/management/HydroErrorsCollector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ void HydroErrorsCollector::CheckForErrors() const
{
if (!areasErrorMap_.empty())
{
for (const auto& [area_name, msg]: areasErrorMap_)
for (const auto& [area_name, area_msg]: areasErrorMap_)
{
logs.error() << "In Area " << area_name << msg;
logs.error() << "In Area " << area_name << area_msg.message;
}
throw FatalError("Hydro validation has failed !");
}
Expand Down

0 comments on commit 2b657ee

Please sign in to comment.