From 1cfebd56f205f95498079a20bca1a0667be07296 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 17 Aug 2017 16:15:54 +0200 Subject: Simplify DabModulator ctor signature --- src/TII.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/TII.h') 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; -- cgit v1.2.3