projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Add missing check for glib.
[pulseview.git]
/
pv
/
data
/
logic.hpp
diff --git
a/pv/data/logic.hpp
b/pv/data/logic.hpp
index e7f7a055da3db150f12f8365edf16af3b7aec59c..c80f0151f8957122d8a87687a75c535b083d196f 100644
(file)
--- a/
pv/data/logic.hpp
+++ b/
pv/data/logic.hpp
@@
-26,6
+26,10
@@
#include <QObject>
#include <QObject>
+using std::deque;
+using std::shared_ptr;
+using std::vector;
+
namespace pv {
namespace data {
namespace pv {
namespace data {
@@
-40,13
+44,11
@@
public:
unsigned int num_channels() const;
unsigned int num_channels() const;
- void push_segment(
- std::shared_ptr<LogicSegment> &segment);
+ void push_segment(shared_ptr<LogicSegment> &segment);
- const std::deque< std::shared_ptr<LogicSegment> >&
- logic_segments() const;
+ const deque< shared_ptr<LogicSegment> >& logic_segments() const;
-
std::vector< std::
shared_ptr<Segment> > segments() const;
+
vector<
shared_ptr<Segment> > segments() const;
void clear();
void clear();
@@
-63,7
+65,7
@@
Q_SIGNALS:
private:
const unsigned int num_channels_;
private:
const unsigned int num_channels_;
-
std::deque< std::
shared_ptr<LogicSegment> > segments_;
+
deque<
shared_ptr<LogicSegment> > segments_;
};
} // namespace data
};
} // namespace data