diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-02-22 20:52:20 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-02-22 20:52:20 +0100 |
commit | 7cee56f37001640b88f4ac1249624c9c9758e844 (patch) | |
tree | c1e4b172f53a51b79f35fc6736a5a4124c19cf5e /src/FrameMultiplexer.h | |
parent | 7d7cbc19bc5509aa9fb8fb430132fe82855cf8c4 (diff) | |
download | dabmod-7cee56f37001640b88f4ac1249624c9c9758e844.tar.gz dabmod-7cee56f37001640b88f4ac1249624c9c9758e844.tar.bz2 dabmod-7cee56f37001640b88f4ac1249624c9c9758e844.zip |
Replace pointers by shared_ptr in all flowgraph
Diffstat (limited to 'src/FrameMultiplexer.h')
-rw-r--r-- | src/FrameMultiplexer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/FrameMultiplexer.h b/src/FrameMultiplexer.h index f1bd587..ba571f6 100644 --- a/src/FrameMultiplexer.h +++ b/src/FrameMultiplexer.h @@ -29,7 +29,7 @@ #include "ModMux.h" #include "SubchannelSource.h" - +#include <boost/shared_ptr.hpp> #include <sys/types.h> @@ -37,7 +37,8 @@ class FrameMultiplexer : public ModMux { public: - FrameMultiplexer(size_t frameSize, const std::vector<SubchannelSource*>* subchannels); + FrameMultiplexer(size_t frameSize, + const std::vector<boost::shared_ptr<SubchannelSource> >* subchannels); virtual ~FrameMultiplexer(); FrameMultiplexer(const FrameMultiplexer&); FrameMultiplexer& operator=(const FrameMultiplexer&); @@ -48,8 +49,8 @@ public: protected: size_t d_frameSize; - const std::vector<SubchannelSource*>* mySubchannels; + const std::vector<boost::shared_ptr<SubchannelSource> >* mySubchannels; }; - #endif // FRAME_MULTIPLEXER_H + |