]> sigrok.org Git - pulseview.git/blobdiff - pv/data/analog.cpp
Append new segments to the end, not the beginning of the list
[pulseview.git] / pv / data / analog.cpp
index c8bafc0fab292cf0982adc8b502739232ba11a56..ed15867c2734d071ab843737284fc41f63aab208 100644 (file)
@@ -37,7 +37,7 @@ Analog::Analog() :
 
 void Analog::push_segment(shared_ptr<AnalogSegment> &segment)
 {
-       segments_.push_front(segment);
+       segments_.push_back(segment);
 }
 
 const deque< shared_ptr<AnalogSegment> >& Analog::analog_segments() const