X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Flogicsignal.cpp;h=d529cabfb80eab75edcb8ccce37d1b5033dd2f1a;hp=b20e5f06bf457b2b7710085aa39addbe0cab3757;hb=6d84894ef7395c5ec689e0fa72f396c3c2b6e53a;hpb=f1a7311612c1289a672074cccca2ce72daf924eb 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;