X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fanalog.cpp;h=30cf5013033dd0f9cc8b002031769b109495c4b5;hb=c17403e8725f31216eb665f4da7018c580346eaa;hp=78fd70e8750de70465160ba863bed89529cd6388;hpb=3b68d03ddae96edb38a80f31bf6a990bde21cd1d;p=pulseview.git diff --git a/pv/data/analog.cpp b/pv/data/analog.cpp index 78fd70e..30cf501 100644 --- a/pv/data/analog.cpp +++ b/pv/data/analog.cpp @@ -20,8 +20,8 @@ #include -#include "analog.h" -#include "analogsnapshot.h" +#include "analog.hpp" +#include "analogsnapshot.hpp" using std::deque; using std::max; @@ -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()); }