X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fflag.cpp;h=662a6d02d56df89ada5671e4d4b62fe61c8da967;hp=95cee716de453e6e288a4b1a2b1cce807b52ee88;hb=33094993339188a3baef302fb09eff6bf6bb6779;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/view/flag.cpp b/pv/view/flag.cpp index 95cee716..662a6d02 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) { }