Don't use std:: in the code directly (where possible).
[pulseview.git] / pv / view / tracegroup.cpp
index 490f39c5457187a0c808cc32684abb25f8fcb3d9..5b59eab94e8d3c3851ebac36f9e01e795d78a707 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "tracegroup.hpp"
 
+using std::any_of;
 using std::pair;
 using std::shared_ptr;
 using std::vector;
@@ -48,7 +49,7 @@ TraceGroup::~TraceGroup()
 
 bool TraceGroup::enabled() const
 {
-       return std::any_of(child_items().begin(), child_items().end(),
+       return any_of(child_items().begin(), child_items().end(),
                [](const shared_ptr<ViewItem> &r) { return r->enabled(); });
 }