X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=0e9445ea239e7a9879e1b88f24e1610b6a09b591;hp=ad91cd12f8c5df760058f121e0c2c30302efd43e;hb=c063290ac7189bdd15221450f598504f43286b43;hpb=6f925ba9d6faf1077b73c5a5808259576081716a diff --git a/pv/view/header.cpp b/pv/view/header.cpp index ad91cd12..0e9445ea 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -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) {