]> sigrok.org Git - pulseview.git/commitdiff
LogicSignal: Call TriggerStage::begin with matches.begin()
authorJoel Holdsworth <redacted>
Sun, 30 Aug 2015 15:01:53 +0000 (09:01 -0600)
committerJoel Holdsworth <redacted>
Sun, 18 Oct 2015 21:32:29 +0000 (15:32 -0600)
pv/view/logicsignal.cpp

index b20e5f06bf457b2b7710085aa39addbe0cab3757..d529cabfb80eab75edcb8ccce37d1b5033dd2f1a 100644 (file)
@@ -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<TriggerMatch> match) {
                                        return match->channel() != channel_; }))
                                continue;