Merge pull request #4523 from daavid00/fixClangbuild

fix to broken built with clang
This commit is contained in:
Bård Skaflestad 2023-03-10 23:30:09 +01:00 committed by GitHub
commit 56ea715cf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ void BlackoilAquiferModel<TypeTag>::createDynamicAquifers(const int episode_inde
auto aquPos =
std::find_if(std::begin(this->aquifers),
std::end(this->aquifers),
[id](const auto& aquPtr)
[id = id](const auto& aquPtr)
{
return aquPtr->aquiferID() == id;
});