Don't use std:: in the code directly (where possible).
[pulseview.git] / pv / view / flag.cpp
index 3afd255fc7ac05eba350c331d0731a129c4277e1..662a6d02d56df89ada5671e4d4b62fe61c8da967 100644 (file)
@@ -14,8 +14,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "timemarker.hpp"
@@ -30,6 +29,7 @@
 
 #include <pv/widgets/popup.hpp>
 
+using std::enable_shared_from_this;
 using std::shared_ptr;
 
 namespace pv {
@@ -46,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)
 {
 }