aboutsummaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-02 13:50:46 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-11-02 13:50:46 +0100
commit1a04e4ba650099538e7790c1a2f33fe4267831e4 (patch)
treed843e3906e2ecac1efa2e8d6295868a1d5d694fe /src/MuxElements.h
parent3dcd1f0c81e1f7f0c4af779b3ce1eaa4f28b9c39 (diff)
downloaddabmux-1a04e4ba650099538e7790c1a2f33fe4267831e4.tar.gz
dabmux-1a04e4ba650099538e7790c1a2f33fe4267831e4.tar.bz2
dabmux-1a04e4ba650099538e7790c1a2f33fe4267831e4.zip
Fix a couple of static check warnings
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r--src/MuxElements.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h
index 100e4d7..90f39a6 100644
--- a/src/MuxElements.h
+++ b/src/MuxElements.h
@@ -393,8 +393,9 @@ struct dabProtection {
class DabSubchannel
{
public:
- DabSubchannel(std::string& uid) :
- uid(uid) { }
+ DabSubchannel(const std::string& uid) :
+ uid(uid),
+ protection() { }
// Calculate subchannel size in number of CU
unsigned short getSizeCu(void) const;