From 2e3029bfb6fbf3f646be0ed9983c21f17cdf1e25 Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Mon, 11 Jan 2021 14:07:32 -0500 Subject: [PATCH] Remove unused capture to silence warning --- include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp | 8 ++++---- include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp b/include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp index 336c5d3de6..cd6162f334 100644 --- a/include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp +++ b/include/uit/ducts/proc/impl/backend/AggregatedBackEnd.hpp @@ -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(); } @@ -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(); } diff --git a/include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp b/include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp index cb1ff14242..beb69dcff5 100644 --- a/include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp +++ b/include/uit/ducts/proc/impl/backend/PooledBackEnd.hpp @@ -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(); } @@ -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(); }