]> sigrok.org Git - pulseview.git/blobdiff - pv/view/flag.cpp
Don't use std:: in the code directly (where possible).
[pulseview.git] / pv / view / flag.cpp
index 95cee716de453e6e288a4b1a2b1cce807b52ee88..662a6d02d56df89ada5671e4d4b62fe61c8da967 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <pv/widgets/popup.hpp>
 
+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>(flag)
+       enable_shared_from_this<Flag>(flag)
 {
 }