aboutsummaryrefslogtreecommitdiffstats
path: root/src/TimestampDecoder.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-14 16:39:38 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-06-14 16:39:38 +0200
commitd4cf5339da32900d90c6d2dd6fea3c0747140dc8 (patch)
tree13a3dfff0e6718858333f16e4e80303209d14619 /src/TimestampDecoder.h
parent39691b7bed013e228cbe75d4b9feaa617e0f08e4 (diff)
downloaddabmod-d4cf5339da32900d90c6d2dd6fea3c0747140dc8.tar.gz
dabmod-d4cf5339da32900d90c6d2dd6fea3c0747140dc8.tar.bz2
dabmod-d4cf5339da32900d90c6d2dd6fea3c0747140dc8.zip
Replace pointer in TimestampDecoder by shared_ptr
Diffstat (limited to 'src/TimestampDecoder.h')
-rw-r--r--src/TimestampDecoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TimestampDecoder.h b/src/TimestampDecoder.h
index 1b805ca..d8ab633 100644
--- a/src/TimestampDecoder.h
+++ b/src/TimestampDecoder.h
@@ -28,6 +28,7 @@
#define TIMESTAMP_DECODER_H
#include <queue>
+#include <boost/shared_ptr.hpp>
#include <string>
#include <time.h>
#include <math.h>
@@ -191,7 +192,7 @@ class TimestampDecoder : public RemoteControllable
* synchronise two modulators if only one uses (for instance) the
* FIRFilter (1 stage pipeline)
*/
- std::queue<struct frame_timestamp*> queue_timestamps;
+ std::queue<boost::shared_ptr<struct frame_timestamp> > queue_timestamps;
};