projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store annotations as objects emplaced in the vector
[pulseview.git]
/
pv
/
data
/
decoderstack.h
diff --git
a/pv/data/decoderstack.h
b/pv/data/decoderstack.h
index dc656f91f7f9b503ff13a850cc35e0328a68a3f5..58dd887145c62cc6bb98dfa18d43c316112b649b 100644
(file)
--- a/
pv/data/decoderstack.h
+++ b/
pv/data/decoderstack.h
@@
-78,8
+78,7
@@
public:
int64_t samples_decoded() const;
int64_t samples_decoded() const;
- const std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
- annotations() const;
+ const std::vector<pv::view::decode::Annotation> annotations() const;
QString error_message();
QString error_message();
@@
-112,8
+111,7
@@
private:
mutable boost::mutex _mutex;
int64_t _samples_decoded;
mutable boost::mutex _mutex;
int64_t _samples_decoded;
- std::vector< boost::shared_ptr<pv::view::decode::Annotation> >
- _annotations;
+ std::vector<pv::view::decode::Annotation> _annotations;
QString _error_message;
boost::thread _decode_thread;
QString _error_message;
boost::thread _decode_thread;