summaryrefslogtreecommitdiffstats
path: root/src/MuxElements.h
diff options
context:
space:
mode:
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;