X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=29d0eed44bc98b14c6b2c0528d9c9faadea84029;hp=48879991fbbcc7d4af1d197ea68accba72512699;hb=8dbbc7f0b9ea59d0f0d62225772f8a56eee125f5;hpb=2a21747e9daac2a45cd9a5ceb9a351f9775c5704 diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index 48879991..29d0eed4 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -70,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