From b09c89b9edda0abe2ab69df5c0d0723db43ad945 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 20 Feb 2018 15:09:59 +0100 Subject: Use shared_ptr instead of component and subchannel pointers --- src/utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 995e8b6..c9beb8e 100644 --- a/src/utils.h +++ b/src/utils.h @@ -3,7 +3,7 @@ 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2016 + Copyright (C) 2018 Matthias P. Braendli, matthias.braendli@mpb.li This file contains a set of utility functions that are used to show @@ -70,15 +70,15 @@ void printOutputs(const std::vector >& outputs); void printServices(const std::vector >& services); -void printComponents(std::vector& components); +void printComponents(const vec_sp_component& components); -void printSubchannels(std::vector& subchannels); +void printSubchannels(const vec_sp_subchannel& subchannels); /* Print information about the whole ensemble */ void printEnsemble(const std::shared_ptr& ensemble); /* Print detailed component information */ -void printComponent(DabComponent* component); +void printComponent(const std::shared_ptr& component); long hexparse(const std::string& input); -- cgit v1.2.3