X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecodesignal.hpp;h=f4783be22706ee18a9ce11b2c23d2b2e17d95b6c;hp=fad3db78548457d25e61f9b4f7dc0bf8042243cf;hb=9431e2d3d256f3602c3637847a8ec3ad3fdcd590;hpb=c3c07a5f4bed7fea98ad07ca1cce34c9e5409f0b diff --git a/pv/data/decodesignal.hpp b/pv/data/decodesignal.hpp index fad3db78..f4783be2 100644 --- a/pv/data/decodesignal.hpp +++ b/pv/data/decodesignal.hpp @@ -26,6 +26,7 @@ #include #include +#include #include #include @@ -79,7 +80,7 @@ struct DecodeSegment // Constructor is a no-op DecodeSegment() { }; // Copy constructor is a no-op - DecodeSegment(DecodeSegment&& ds) { (void)ds; }; + DecodeSegment(DecodeSegment&& ds) { (void)ds; qCritical() << "Empty DecodeSegment copy constructor called"; }; map annotation_rows; // Note: Row is the same for all segments while RowData is not pv::util::Timestamp start_time; @@ -246,7 +247,7 @@ private: vector< shared_ptr > stack_; bool stack_config_changed_; - vector segments_; + deque segments_; uint32_t current_segment_id_; mutable mutex input_mutex_, output_mutex_, decode_pause_mutex_, logic_mux_mutex_;