fix compile with recent clang++ (still works with older g++)
This commit is contained in:
parent
6cfbabec18
commit
efd002a3c6
1 changed files with 2 additions and 2 deletions
|
@ -814,7 +814,7 @@ namespace boost { namespace property_tree
|
|||
const key_type &path,
|
||||
const std::locale &loc) const
|
||||
{
|
||||
return get_child(separator, path).get_own<Type>(loc);
|
||||
return get_child(separator, path).template get_own<Type>(loc);
|
||||
}
|
||||
|
||||
// Get value from data of child ptree (custom path separator)
|
||||
|
@ -853,7 +853,7 @@ namespace boost { namespace property_tree
|
|||
const std::locale &loc) const
|
||||
{
|
||||
if (optional<const basic_ptree<Tr> &> child = get_child_optional(separator, path))
|
||||
return child.get().get_own_optional<Type>(loc);
|
||||
return child.get().template get_own_optional<Type>(loc);
|
||||
else
|
||||
return optional<Type>();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue