]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analog.cpp
Replaced boost::shared_ptr with std::shared_ptr
[pulseview.git] / pv / data / analog.cpp
index c7430432613c3eadbf373e25b16374f0a1cb980f..53fa9a5a62b117c5a1258cdc09dd05d1fc1cf446 100644 (file)
@@ -21,9 +21,9 @@
 #include "analog.h"
 #include "analogsnapshot.h"
 
-using boost::shared_ptr;
 using std::deque;
 using std::max;
+using std::shared_ptr;
 
 namespace pv {
 namespace data {
@@ -51,7 +51,7 @@ void Analog::clear()
 uint64_t Analog::get_max_sample_count() const
 {
        uint64_t l = 0;
-       for (const boost::shared_ptr<AnalogSnapshot> s : _snapshots) {
+       for (const std::shared_ptr<AnalogSnapshot> s : _snapshots) {
                assert(s);
                l = max(l, s->get_sample_count());
        }