summaryrefslogtreecommitdiffstats
path: root/src/TII.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:15:54 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 16:15:54 +0200
commit1cfebd56f205f95498079a20bca1a0667be07296 (patch)
treecbf83a18380528af6678e58cf640467ed3eaacff /src/TII.h
parent84c8d100c682fece37b448f38228260f84c070f2 (diff)
downloaddabmod-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TII.h b/src/TII.h
index 2bd2040..fe67978 100644
--- a/src/TII.h
+++ b/src/TII.h
@@ -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;