From: Helge Norberg Date: Wed, 2 Dec 2015 19:31:33 +0000 (+0100) Subject: Fixed compilation problem in Linux X-Git-Tag: 2.1.0_Beta1~150^2 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2b4003a5f134194e94414e2d4ef53ed9e3e03443;p=casparcg Fixed compilation problem in Linux --- 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) {