X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.h;h=6c56dcd71dc89499dc8a5eceecd6593f43be1a85;hb=18f7104f875a71bceeb152398b682737528a4ad7;hp=2e70f7da92b9dca7dec6770713624aefa8cf8b8c;hpb=58864c5c5dffac4254f199356aaeb5eabd608630;p=pulseview.git diff --git a/pv/view/cursorpair.h b/pv/view/cursorpair.h index 2e70f7da..6c56dcd7 100644 --- a/pv/view/cursorpair.h +++ b/pv/view/cursorpair.h @@ -23,7 +23,7 @@ #include "cursor.h" -#include +#include #include @@ -42,17 +42,17 @@ public: * Constructor. * @param view A reference to the view that owns this cursor pair. */ - CursorPair(const View &view); + CursorPair(View &view); /** * Returns a pointer to the first cursor. */ - boost::shared_ptr first() const; + std::shared_ptr first() const; /** * Returns a pointer to the second cursor. */ - boost::shared_ptr second() const; + std::shared_ptr second() const; public: QRectF get_label_rect(const QRect &rect) const; @@ -69,7 +69,7 @@ public: std::pair get_cursor_offsets() const; private: - boost::shared_ptr _first, _second; + std::shared_ptr _first, _second; const View &_view; QSizeF _text_size;