]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
build: Bump libsigrokcxx requirement to >= 0.5.2.
[pulseview.git] / pv / data / decodesignal.hpp
index 0e5d38c6b2879f4b94461ce4037b4454e7fd4f41..cee4ccf0eadcf6db1a214483057231e4274c7dbf 100644 (file)
@@ -42,7 +42,6 @@ using std::condition_variable;
 using std::deque;
 using std::map;
 using std::mutex;
-using std::pair;
 using std::vector;
 using std::shared_ptr;
 
@@ -150,7 +149,7 @@ public:
         * Note: The annotations may be unsorted and only annotations that fully
         * fit into the sample range are considered.
         */
-       void get_annotation_subset(vector<Annotation> &dest, const Row* row,
+       void get_annotation_subset(deque<const Annotation*> &dest, const Row* row,
                uint32_t segment_id, uint64_t start_sample, uint64_t end_sample) const;
 
        /**
@@ -158,7 +157,7 @@ public:
         * Note: The annotations may be unsorted and only annotations that fully
         * fit into the sample range are considered.
         */
-       void get_annotation_subset(vector<Annotation> &dest, uint32_t segment_id,
+       void get_annotation_subset(deque<const Annotation*> &dest, uint32_t segment_id,
                uint64_t start_sample, uint64_t end_sample) const;
 
        uint32_t get_binary_data_chunk_count(uint32_t segment_id,