X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=87effd3d6b95e0ffba01ebb2c71fb7b9b6c972b6;hp=7c68f302846b5b4f6d41b020abdef6c15f98df69;hb=f9abf97e78bc4825d80926b0ebc6cbaef40768b1;hpb=d9aecf1fcd9af471db3b59de7efc65b9632a6d79 diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 7c68f30..87effd3 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -34,10 +34,10 @@ #include -using boost::shared_ptr; using std::max; using std::make_pair; using std::pair; +using std::shared_ptr; using std::vector; namespace pv { @@ -222,7 +222,7 @@ void Header::mouseMoveEvent(QMouseEvent *event) const int delta = event->pos().y() - _mouse_down_point.y(); for (auto i = _drag_traces.begin(); i != _drag_traces.end(); i++) { - const boost::shared_ptr trace((*i).first); + const std::shared_ptr trace((*i).first); if (trace) { const int y = (*i).second + delta; const int y_snap =