X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fflag.cpp;h=662a6d02d56df89ada5671e4d4b62fe61c8da967;hp=95cee716de453e6e288a4b1a2b1cce807b52ee88;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/view/flag.cpp b/pv/view/flag.cpp index 95cee71..662a6d0 100644 --- a/pv/view/flag.cpp +++ b/pv/view/flag.cpp @@ -29,6 +29,7 @@ #include +using std::enable_shared_from_this; using std::shared_ptr; namespace pv { @@ -45,7 +46,7 @@ Flag::Flag(View &view, const pv::util::Timestamp& time, const QString &text) : Flag::Flag(const Flag &flag) : TimeMarker(flag.view_, FillColour, flag.time_), - std::enable_shared_from_this(flag) + enable_shared_from_this(flag) { }