X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fsnapshot.h;h=e4b9c0e812aaf7a7e0b3722d26a352997d02180b;hb=c82c7e4;hp=499164400014d20001ae1e130c177bfcefe990be;hpb=3c1001230d7dd6ee68d21ed46082f5f97d3b4bfc;p=pulseview.git diff --git a/pv/data/snapshot.h b/pv/data/snapshot.h index 4991644..e4b9c0e 100644 --- a/pv/data/snapshot.h +++ b/pv/data/snapshot.h @@ -25,6 +25,7 @@ #include #include +#include namespace pv { namespace data { @@ -72,7 +73,7 @@ protected: protected: mutable std::recursive_mutex _mutex; - void *_data; + std::vector _data; uint64_t _sample_count; uint64_t _capacity; int _unit_size;