]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.cpp
Refactoring in View and SigSession
[pulseview.git] / pv / view / cursor.cpp
index 6eb575e3175cc5128c6af17fbef0279a416a041f..ca22eefdf1f65d44c145f84c0649733b6b9e3e84 100644 (file)
@@ -33,7 +33,7 @@
 
 #include <extdef.h>
 
-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)
 {
 }