Ticket #4158: boost-property-tree-fixes.patch

File boost-property-tree-fixes.patch, 1006 bytes (added by Douglas Gregor, 12 years ago)

Patch to add missing "template" keywords

  • boost/property_tree/detail/ptree_implementation.hpp

     
    502502    typename basic_ptree<K, D, C>::iterator
    503503        basic_ptree<K, D, C>::to_iterator(assoc_iterator ai)
    504504    {
    505         return iterator(subs::ch(this).project<0>(ai.base()));
     505        return iterator(subs::ch(this).
     506                          BOOST_NESTED_TEMPLATE project<0>(ai.base()));
    506507    }
    507508
    508509    template<class K, class D, class C> inline
    509510    typename basic_ptree<K, D, C>::const_iterator
    510511        basic_ptree<K, D, C>::to_iterator(const_assoc_iterator ai) const
    511512    {
    512         return const_iterator(subs::ch(this).project<0>(ai.base()));
     513        return const_iterator(subs::ch(this).
     514                                BOOST_NESTED_TEMPLATE project<0>(ai.base()));
    513515    }
    514516
    515517    // Property tree view