diff --git a/repertory/repertory_test/src/providers_test.cpp b/repertory/repertory_test/src/providers_test.cpp index 38ce8a42..6794ae10 100644 --- a/repertory/repertory_test/src/providers_test.cpp +++ b/repertory/repertory_test/src/providers_test.cpp @@ -175,7 +175,7 @@ const auto decrypt_parts = [](const repertory::app_config &cfg, }; const auto pinned_includes_api_path = - [&](const auto &pinned, const std::string &expected_path) -> bool { + [](const auto &pinned, const std::string &expected_path) -> bool { return std::ranges::any_of(pinned, [&expected_path](auto &&api_path) -> bool { return api_path == expected_path; });