From 863d9fe32fbff286d4c359d6a5c29184ed511866 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 21 Dec 2015 22:53:23 +0100 Subject: Replace some boost shared_ptr by std ones --- src/DabMultiplexer.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/DabMultiplexer.h') diff --git a/src/DabMultiplexer.h b/src/DabMultiplexer.h index bafefff..aa468ea 100644 --- a/src/DabMultiplexer.h +++ b/src/DabMultiplexer.h @@ -49,7 +49,7 @@ #include #include #include -#include +#include #include class MuxInitException : public std::exception @@ -66,13 +66,14 @@ class MuxInitException : public std::exception class DabMultiplexer : public RemoteControllable { public: - DabMultiplexer(boost::shared_ptr rc, - boost::property_tree::ptree pt); + DabMultiplexer( + std::shared_ptr rc, + boost::property_tree::ptree pt); void prepare(void); unsigned long getCurrentFrame() { return currentFrame; } - void mux_frame(std::vector >& outputs); + void mux_frame(std::vector >& outputs); void print_info(void); @@ -95,7 +96,7 @@ class DabMultiplexer : public RemoteControllable { void reconfigure(void); boost::property_tree::ptree m_pt; - boost::shared_ptr m_rc; + std::shared_ptr m_rc; unsigned timestamp; bool MNSC_increment_time; @@ -128,11 +129,11 @@ class DabMultiplexer : public RemoteControllable { std::vector::iterator subchannelFIG0_1; - boost::shared_ptr ensemble; + std::shared_ptr ensemble; // Multiplex reconfiguration requires two sets of configurations boost::property_tree::ptree m_pt_next; - boost::shared_ptr ensemble_next; + std::shared_ptr ensemble_next; #if HAVE_OUTPUT_EDI std::ofstream edi_debug_file; -- cgit v1.2.3