X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=e2ccfedc4e4d53cdb68d8897edaa1ec7f1622b24;hp=ad91cd12f8c5df760058f121e0c2c30302efd43e;hb=aca9aa834c742ba70f49d1ac3eb2d1e02e759416;hpb=6f925ba9d6faf1077b73c5a5808259576081716a diff --git a/pv/view/header.cpp b/pv/view/header.cpp index ad91cd12..e2ccfedc 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -23,8 +23,8 @@ #include "signal.hpp" #include "tracegroup.hpp" -#include #include +#include #include @@ -41,10 +41,6 @@ using boost::make_filter_iterator; using std::count_if; using std::dynamic_pointer_cast; -using std::max; -using std::make_pair; -using std::min; -using std::pair; using std::shared_ptr; using std::stable_sort; using std::vector; @@ -107,8 +103,7 @@ void Header::paintEvent(QPaintEvent*) // would be clipped away. const QRect rect(0, 0, width() - BaselineOffset, height()); - vector< shared_ptr > items( - view_.list_by_type()); + vector< shared_ptr > items(view_.list_by_type()); stable_sort(items.begin(), items.end(), [](const shared_ptr &a, const shared_ptr &b) {