X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fanalog.cpp;h=eb25629fe68fa0f5f94d165ca6f5d7a0a66e222e;hp=78fd70e8750de70465160ba863bed89529cd6388;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hpb=2a21747e9daac2a45cd9a5ceb9a351f9775c5704 diff --git a/pv/data/analog.cpp b/pv/data/analog.cpp index 78fd70e..eb25629 100644 --- a/pv/data/analog.cpp +++ b/pv/data/analog.cpp @@ -37,23 +37,23 @@ Analog::Analog() : void Analog::push_snapshot(shared_ptr &snapshot) { - _snapshots.push_front(snapshot); + snapshots_.push_front(snapshot); } deque< shared_ptr >& Analog::get_snapshots() { - return _snapshots; + return snapshots_; } void Analog::clear() { - _snapshots.clear(); + snapshots_.clear(); } uint64_t Analog::get_max_sample_count() const { uint64_t l = 0; - for (const std::shared_ptr s : _snapshots) { + for (const std::shared_ptr s : snapshots_) { assert(s); l = max(l, s->get_sample_count()); }