|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61639 - trunk/boost/property_tree/detail
From: sebastian.redl_at_[hidden]
Date: 2010-04-28 03:21:05
Author: cornedbee
Date: 2010-04-28 03:21:04 EDT (Wed, 28 Apr 2010)
New Revision: 61639
URL: http://svn.boost.org/trac/boost/changeset/61639
Log:
Add more missing template keywords. Diagnosed by Clang, patch by Doug Gregor. Fixes bug 4158.
Text files modified:
trunk/boost/property_tree/detail/ptree_implementation.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/property_tree/detail/ptree_implementation.hpp
==============================================================================
--- trunk/boost/property_tree/detail/ptree_implementation.hpp (original)
+++ trunk/boost/property_tree/detail/ptree_implementation.hpp 2010-04-28 03:21:04 EDT (Wed, 28 Apr 2010)
@@ -502,14 +502,16 @@
typename basic_ptree<K, D, C>::iterator
basic_ptree<K, D, C>::to_iterator(assoc_iterator ai)
{
- return iterator(subs::ch(this).project<0>(ai.base()));
+ return iterator(subs::ch(this).
+ BOOST_NESTED_TEMPLATE project<0>(ai.base()));
}
template<class K, class D, class C> inline
typename basic_ptree<K, D, C>::const_iterator
basic_ptree<K, D, C>::to_iterator(const_assoc_iterator ai) const
{
- return const_iterator(subs::ch(this).project<0>(ai.base()));
+ return const_iterator(subs::ch(this).
+ BOOST_NESTED_TEMPLATE project<0>(ai.base()));
}
// Property tree view
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk