X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fcursor.cpp;h=ca22eefdf1f65d44c145f84c0649733b6b9e3e84;hb=76868203e56032aa21d7909b5fd72c50b5505615;hp=6eb575e3175cc5128c6af17fbef0279a416a041f;hpb=58864c5c5dffac4254f199356aaeb5eabd608630;p=pulseview.git diff --git a/pv/view/cursor.cpp b/pv/view/cursor.cpp index 6eb575e3..ca22eefd 100644 --- a/pv/view/cursor.cpp +++ b/pv/view/cursor.cpp @@ -33,7 +33,7 @@ #include -using namespace boost; +using boost::shared_ptr; namespace pv { namespace view { @@ -47,7 +47,7 @@ const int Cursor::Offset = 1; const int Cursor::ArrowSize = 4; -Cursor::Cursor(const View &view, double time) : +Cursor::Cursor(View &view, double time) : TimeMarker(view, LineColour, time) { }