From 1a04e4ba650099538e7790c1a2f33fe4267831e4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 2 Nov 2020 13:50:46 +0100 Subject: Fix a couple of static check warnings --- src/MuxElements.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/MuxElements.h') 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; -- cgit v1.2.3