From: Joel Holdsworth Date: Sun, 30 Aug 2015 15:01:53 +0000 (-0600) Subject: LogicSignal: Call TriggerStage::begin with matches.begin() X-Git-Tag: pulseview-0.3.0~87 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=6d84894ef7395c5ec689e0fa72f396c3c2b6e53a;hp=f1a7311612c1289a672074cccca2ce72daf924eb LogicSignal: Call TriggerStage::begin with matches.begin() --- diff --git a/pv/view/logicsignal.cpp b/pv/view/logicsignal.cpp index b20e5f06..d529cabf 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;