]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analogsegment.cpp
Segment: Do not alter chunks when there are active iterators
[pulseview.git] / pv / data / analogsegment.cpp
index 38db0f123d3be31e95b98ee849fde237bf46819c..b3f310a144c5cd7ce2e18fb83ed242bd10526b6c 100644 (file)
@@ -106,17 +106,17 @@ const std::pair<float, float> AnalogSegment::get_min_max() const
        return std::make_pair(min_value_, max_value_);
 }
 
-SegmentAnalogDataIterator* AnalogSegment::begin_sample_iteration(uint64_t start) const
+SegmentAnalogDataIterator* AnalogSegment::begin_sample_iteration(uint64_t start)
 {
        return (SegmentAnalogDataIterator*)begin_raw_sample_iteration(start);
 }
 
-void AnalogSegment::continue_sample_iteration(SegmentAnalogDataIterator* it, uint64_t increase) const
+void AnalogSegment::continue_sample_iteration(SegmentAnalogDataIterator* it, uint64_t increase)
 {
        Segment::continue_raw_sample_iteration((SegmentRawDataIterator*)it, increase);
 }
 
-void AnalogSegment::end_sample_iteration(SegmentAnalogDataIterator* it) const
+void AnalogSegment::end_sample_iteration(SegmentAnalogDataIterator* it)
 {
        Segment::end_raw_sample_iteration((SegmentRawDataIterator*)it);
 }