]> sigrok.org Git - pulseview.git/blobdiff - pv/view/signal.h
Replaced boost::shared_ptr with std::shared_ptr
[pulseview.git] / pv / view / signal.h
index 32d181772fce2ce2c48e571d50573608e7d6018f..99b685c0bdc286f4f4f50e1b08290a8123e57acc 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef PULSEVIEW_PV_VIEW_SIGNAL_H
 #define PULSEVIEW_PV_VIEW_SIGNAL_H
 
-#include <boost/shared_ptr.hpp>
+#include <memory>
 
 #include <QComboBox>
 #include <QWidgetAction>
@@ -49,7 +49,7 @@ class Signal : public Trace
        Q_OBJECT
 
 protected:
-       Signal(boost::shared_ptr<pv::device::DevInst> dev_inst,
+       Signal(std::shared_ptr<pv::device::DevInst> dev_inst,
                const sr_channel *const probe);
 
 public:
@@ -58,7 +58,7 @@ public:
         */
        void set_name(QString name);
 
-       virtual boost::shared_ptr<pv::data::SignalData> data() const = 0;
+       virtual std::shared_ptr<pv::data::SignalData> data() const = 0;
 
        /**
         * Returns true if the trace is visible and enabled.
@@ -79,7 +79,7 @@ private slots:
        void on_disable();
 
 protected:
-       boost::shared_ptr<pv::device::DevInst> _dev_inst;
+       std::shared_ptr<pv::device::DevInst> _dev_inst;
        const sr_channel *const _probe;
 
        QComboBox *_name_widget;