diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-01 17:41:55 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-08-01 17:41:55 +0200 |
commit | 07f5c0fbfb43b099fa09b273a1074093c7579903 (patch) | |
tree | 48a2b759b46aaa483ab238d679cc172a97bdff82 /src/EtiReader.h | |
parent | dd22ff8c7ab0ec2fae413431b7d546d2bf9367ea (diff) | |
download | dabmod-07f5c0fbfb43b099fa09b273a1074093c7579903.tar.gz dabmod-07f5c0fbfb43b099fa09b273a1074093c7579903.tar.bz2 dabmod-07f5c0fbfb43b099fa09b273a1074093c7579903.zip |
Replace some loops with iterators to foreach loops
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r-- | src/EtiReader.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/EtiReader.h b/src/EtiReader.h index a8fc8f0..c5dfb70 100644 --- a/src/EtiReader.h +++ b/src/EtiReader.h @@ -51,11 +51,8 @@ public: double tist_offset_s, unsigned tist_delay_stages, RemoteControllers* rcs); - virtual ~EtiReader(); - EtiReader(const EtiReader&); - EtiReader& operator=(const EtiReader&); - FicSource* getFic(); + std::shared_ptr<FicSource>& getFic(); unsigned getMode(); unsigned getFp(); const std::vector<std::shared_ptr<SubchannelSource> >& getSubchannels(); @@ -83,7 +80,7 @@ protected: eti_EOH eti_eoh; eti_EOF eti_eof; eti_TIST eti_tist; - FicSource* myFicSource; + std::shared_ptr<FicSource> myFicSource; std::vector<std::shared_ptr<SubchannelSource> > mySources; TimestampDecoder myTimestampDecoder; |