X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Flogic.cpp;h=ac47c29d6ac12d004f44c23ccc80b6678e44e78b;hp=399c81349c3087ceea417a0e75a610f436e49c59;hb=946b52e1f0e0520415c3653cc6ea9d083718f76d;hpb=6f925ba9d6faf1077b73c5a5808259576081716a diff --git a/pv/data/logic.cpp b/pv/data/logic.cpp index 399c8134..ac47c29d 100644 --- a/pv/data/logic.cpp +++ b/pv/data/logic.cpp @@ -42,8 +42,7 @@ unsigned int Logic::num_channels() const return num_channels_; } -void Logic::push_segment( - shared_ptr &segment) +void Logic::push_segment(shared_ptr &segment) { segments_.push_front(segment); } @@ -55,8 +54,7 @@ const deque< shared_ptr >& Logic::logic_segments() const vector< shared_ptr > Logic::segments() const { - return vector< shared_ptr >( - segments_.begin(), segments_.end()); + return vector< shared_ptr >(segments_.begin(), segments_.end()); } void Logic::clear()