From bc93f1ef2f89b6309b23b4984c237dcc458f1446 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Fri, 27 Oct 2017 18:44:51 +0200 Subject: [PATCH] Append new segments to the end, not the beginning of the list --- pv/data/analog.cpp | 2 +- pv/data/logic.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pv/data/analog.cpp b/pv/data/analog.cpp index c8bafc0f..ed15867c 100644 --- a/pv/data/analog.cpp +++ b/pv/data/analog.cpp @@ -37,7 +37,7 @@ Analog::Analog() : void Analog::push_segment(shared_ptr &segment) { - segments_.push_front(segment); + segments_.push_back(segment); } const deque< shared_ptr >& Analog::analog_segments() const diff --git a/pv/data/logic.cpp b/pv/data/logic.cpp index 084e8efd..3e194d54 100644 --- a/pv/data/logic.cpp +++ b/pv/data/logic.cpp @@ -44,7 +44,7 @@ unsigned int Logic::num_channels() const void Logic::push_segment(shared_ptr &segment) { - segments_.push_front(segment); + segments_.push_back(segment); } const deque< shared_ptr >& Logic::logic_segments() const -- 2.30.2