From 2b4003a5f134194e94414e2d4ef53ed9e3e03443 Mon Sep 17 00:00:00 2001 From: Helge Norberg Date: Wed, 2 Dec 2015 20:31:33 +0100 Subject: [PATCH] Fixed compilation problem in Linux --- common/ptree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/ptree.h b/common/ptree.h index a45e838b3..8eb6a2984 100644 --- a/common/ptree.h +++ b/common/ptree.h @@ -50,7 +50,7 @@ T ptree_get(const Ptree& ptree, const typename Ptree::key_type& path) { try { - return ptree.get(path); + return ptree.template get(path); } catch (boost::property_tree::ptree_bad_path&) { @@ -68,7 +68,7 @@ T ptree_get_value(const Ptree& ptree) { try { - return ptree.get_value(); + return ptree.template get_value(); } catch (const boost::property_tree::ptree_bad_data& e) { -- 2.39.2