From: Joel Holdsworth Date: Sun, 30 Aug 2015 15:01:53 +0000 (-0600) Subject: LogicSignal: Call TriggerStage::begin with matches.begin() X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=commitdiff_plain;h=6d84894ef7395c5ec689e0fa72f396c3c2b6e53a LogicSignal: Call TriggerStage::begin with matches.begin() --- 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;