@@ -813,7 +813,7 @@ const key_type &path, const std::locale &loc) const { - return get_child(separator, path).get_own(loc); + return get_child(separator, path).template get_own(loc); } // Get value from data of child ptree (custom path separator) @@ -852,7 +852,7 @@ const std::locale &loc) const { if (optional &> child = get_child_optional(separator, path)) - return child.get().get_own_optional(loc); + return child.get().template get_own_optional(loc); else return optional(); }