diff options
Diffstat (limited to 'src/ConfigParser.cpp')
| -rw-r--r-- | src/ConfigParser.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 93e6068..0ba1d78 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -393,7 +393,7 @@ void parse_ptree(      ptree pt_subchans = pt.get_child("subchannels");      for (ptree::iterator it = pt_subchans.begin(); it != pt_subchans.end(); ++it) {          string subchanuid = it->first; -        DabSubchannel* subchan = new DabSubchannel(subchanuid); +        auto subchan = new DabSubchannel(subchanuid);          ensemble->subchannels.push_back(subchan); @@ -466,7 +466,7 @@ void parse_ptree(          int packet_datagroup = pt_comp.get("datagroup", false);          uint8_t component_type = hexparse(pt_comp.get("type", "0")); -        DabComponent* component = new DabComponent(componentuid); +        auto component = new DabComponent(componentuid);          component->serviceId = service->id;          component->subchId = subchannel->id; | 
