summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-21 22:53:23 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-21 22:53:23 +0100
commit863d9fe32fbff286d4c359d6a5c29184ed511866 (patch)
treefdcb2c34837848db7904eb7f73890da3ff18f6fb /src/ConfigParser.cpp
parent3f179d73b72c2fcb496e5bada79a782f5d722ffe (diff)
downloaddabmux-863d9fe32fbff286d4c359d6a5c29184ed511866.tar.gz
dabmux-863d9fe32fbff286d4c359d6a5c29184ed511866.tar.bz2
dabmux-863d9fe32fbff286d4c359d6a5c29184ed511866.zip
Replace some boost shared_ptr by std ones
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index db01769..8795277 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -39,6 +39,7 @@
#include <boost/property_tree/ptree.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
+#include <memory>
#include <exception>
#include <iostream>
#include <vector>
@@ -143,8 +144,8 @@ uint16_t get_announcement_flag_from_ptree(
}
void parse_ptree(boost::property_tree::ptree& pt,
- boost::shared_ptr<dabEnsemble> ensemble,
- boost::shared_ptr<BaseRemoteController> rc
+ std::shared_ptr<dabEnsemble> ensemble,
+ std::shared_ptr<BaseRemoteController> rc
)
{
using boost::property_tree::ptree;
@@ -554,9 +555,9 @@ void parse_ptree(boost::property_tree::ptree& pt,
void setup_subchannel_from_ptree(dabSubchannel* subchan,
boost::property_tree::ptree &pt,
- boost::shared_ptr<dabEnsemble> ensemble,
+ std::shared_ptr<dabEnsemble> ensemble,
string subchanuid,
- boost::shared_ptr<BaseRemoteController> rc)
+ std::shared_ptr<BaseRemoteController> rc)
{
using boost::property_tree::ptree;
using boost::property_tree::ptree_error;