X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=29d0eed44bc98b14c6b2c0528d9c9faadea84029;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hp=fcb420c773e27a37359dcff4f2678b625764e73c;hpb=5ad3b48b283738425949145182edc18edf6ea29e;p=pulseview.git diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index fcb420c7..29d0eed4 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -21,8 +21,6 @@ #ifndef PULSEVIEW_PV_DATA_SNAPSHOT_H #define PULSEVIEW_PV_DATA_SNAPSHOT_H -#include - #include #include #include @@ -72,11 +70,11 @@ protected: void append_data(void *data, uint64_t samples); protected: - mutable std::recursive_mutex _mutex; - std::vector _data; - uint64_t _sample_count; - uint64_t _capacity; - unsigned int _unit_size; + mutable std::recursive_mutex mutex_; + std::vector data_; + uint64_t sample_count_; + uint64_t capacity_; + unsigned int unit_size_; }; } // namespace data