X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Flogic.hpp;h=c80f0151f8957122d8a87687a75c535b083d196f;hp=e7f7a055da3db150f12f8365edf16af3b7aec59c;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/data/logic.hpp b/pv/data/logic.hpp index e7f7a055..c80f0151 100644 --- a/pv/data/logic.hpp +++ b/pv/data/logic.hpp @@ -26,6 +26,10 @@ #include +using std::deque; +using std::shared_ptr; +using std::vector; + namespace pv { namespace data { @@ -40,13 +44,11 @@ public: unsigned int num_channels() const; - void push_segment( - std::shared_ptr &segment); + void push_segment(shared_ptr &segment); - const std::deque< std::shared_ptr >& - logic_segments() const; + const deque< shared_ptr >& logic_segments() const; - std::vector< std::shared_ptr > segments() const; + vector< shared_ptr > segments() const; void clear(); @@ -63,7 +65,7 @@ Q_SIGNALS: private: const unsigned int num_channels_; - std::deque< std::shared_ptr > segments_; + deque< shared_ptr > segments_; }; } // namespace data