From 6d84894ef7395c5ec689e0fa72f396c3c2b6e53a Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Sun, 30 Aug 2015 09:01:53 -0600 Subject: [PATCH] LogicSignal: Call TriggerStage::begin with matches.begin() --- pv/view/logicsignal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/view/logicsignal.cpp b/pv/view/logicsignal.cpp index b20e5f0..d529cab 100644 --- a/pv/view/logicsignal.cpp +++ b/pv/view/logicsignal.cpp @@ -420,7 +420,7 @@ void LogicSignal::modify_trigger() if (trigger) { for (auto stage : trigger->stages()) { const auto &matches = stage->matches(); - if (std::none_of(begin(matches), end(matches), + if (std::none_of(matches.begin(), matches.end(), [&](shared_ptr match) { return match->channel() != channel_; })) continue; -- 2.30.2