Skip to content

Commit

Permalink
Remove unused capture to silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Jan 11, 2021
1 parent aa9f946 commit 2e3029b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ class AggregatedBackEnd {

return std::any_of(
std::begin(inlet_aggregators), std::end(inlet_aggregators),
[this](const auto& map_pair){
[](const auto& map_pair){
const auto& [key, map] = map_pair;
return std::any_of(
std::begin(map), std::end(map),
[this](const auto& aggregator_pair) {
[](const auto& aggregator_pair) {
const auto& [key, aggregator] = aggregator_pair;
return aggregator.IsInitialized();
}
Expand Down Expand Up @@ -112,11 +112,11 @@ class AggregatedBackEnd {

return std::any_of(
std::begin(outlet_aggregators), std::end(outlet_aggregators),
[this](const auto& map_pair){
[](const auto& map_pair){
const auto& [key, map] = map_pair;
return std::any_of(
std::begin(map), std::end(map),
[this](const auto& aggregator_pair) {
[](const auto& aggregator_pair) {
const auto& [key, aggregator] = aggregator_pair;
return aggregator.IsInitialized();
}
Expand Down
8 changes: 4 additions & 4 deletions include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ class PooledBackEnd {

return std::any_of(
std::begin(inlet_pools), std::end(inlet_pools),
[this](const auto& map_pair){
[](const auto& map_pair){
const auto& [key, map] = map_pair;
return std::any_of(
std::begin(map), std::end(map),
[this](const auto& pool_pair) {
[](const auto& pool_pair) {
const auto& [key, pool] = pool_pair;
return pool.IsInitialized();
}
Expand Down Expand Up @@ -111,11 +111,11 @@ class PooledBackEnd {

return std::any_of(
std::begin(outlet_pools), std::end(outlet_pools),
[this](const auto& map_pair){
[](const auto& map_pair){
const auto& [key, map] = map_pair;
return std::any_of(
std::begin(map), std::end(map),
[this](const auto& pool_pair) {
[](const auto& pool_pair) {
const auto& [key, pool] = pool_pair;
return pool.IsInitialized();
}
Expand Down

0 comments on commit 2e3029b

Please sign in to comment.