diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-17 16:15:54 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-17 16:15:54 +0200 |
commit | 1cfebd56f205f95498079a20bca1a0667be07296 (patch) | |
tree | cbf83a18380528af6678e58cf640467ed3eaacff /src/TII.h | |
parent | 84c8d100c682fece37b448f38228260f84c070f2 (diff) | |
download | dabmod-1cfebd56f205f95498079a20bca1a0667be07296.tar.gz dabmod-1cfebd56f205f95498079a20bca1a0667be07296.tar.bz2 dabmod-1cfebd56f205f95498079a20bca1a0667be07296.zip |
Simplify DabModulator ctor signature
Diffstat (limited to 'src/TII.h')
-rw-r--r-- | src/TII.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ class TIIError : public std::runtime_error { class TII : public ModCodec, public RemoteControllable { public: - TII(unsigned int dabmode, tii_config_t& tii_config, unsigned phase); + TII(unsigned int dabmode, const tii_config_t& tii_config, unsigned phase); virtual ~TII(); TII(const TII&) = delete; TII& operator=(const TII&) = delete; @@ -110,7 +110,7 @@ class TII : public ModCodec, public RemoteControllable unsigned int m_dabmode; // Remote-controllable settings - tii_config_t& m_conf; + tii_config_t m_conf; // Internal flag when to insert TII bool m_insert; |