projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid wrapping driver names etc in about box.
[pulseview.git]
/
pv
/
data
/
logic.cpp
diff --git
a/pv/data/logic.cpp
b/pv/data/logic.cpp
index cd80ac99de13ca54384e9a7013239d68076f7823..ac47c29d6ac12d004f44c23ccc80b6678e44e78b 100644
(file)
--- a/
pv/data/logic.cpp
+++ b/
pv/data/logic.cpp
@@
-42,8
+42,7
@@
unsigned int Logic::num_channels() const
return num_channels_;
}
return num_channels_;
}
-void Logic::push_segment(
- shared_ptr<LogicSegment> &segment)
+void Logic::push_segment(shared_ptr<LogicSegment> &segment)
{
segments_.push_front(segment);
}
{
segments_.push_front(segment);
}
@@
-55,8
+54,7
@@
const deque< shared_ptr<LogicSegment> >& Logic::logic_segments() const
vector< shared_ptr<Segment> > Logic::segments() const
{
vector< shared_ptr<Segment> > Logic::segments() const
{
- return vector< shared_ptr<Segment> >(
- segments_.begin(), segments_.end());
+ return vector< shared_ptr<Segment> >(segments_.begin(), segments_.end());
}
void Logic::clear()
}
void Logic::clear()
@@
-69,7
+67,7
@@
void Logic::clear()
uint64_t Logic::max_sample_count() const
{
uint64_t l = 0;
uint64_t Logic::max_sample_count() const
{
uint64_t l = 0;
- for (s
td::s
hared_ptr<LogicSegment> s : segments_) {
+ for (shared_ptr<LogicSegment> s : segments_) {
assert(s);
l = max(l, s->get_sample_count());
}
assert(s);
l = max(l, s->get_sample_count());
}