Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61610 - trunk/boost/property_tree/detail
From: sebastian.redl_at_[hidden]
Date: 2010-04-27 05:36:13


Author: cornedbee
Date: 2010-04-27 05:36:13 EDT (Tue, 27 Apr 2010)
New Revision: 61610
URL: http://svn.boost.org/trac/boost/changeset/61610

Log:
Add a missing template keyword. Fixes bug 3989.
Text files modified:
   trunk/boost/property_tree/detail/ptree_implementation.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 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-27 05:36:13 EDT (Tue, 27 Apr 2010)
@@ -768,7 +768,8 @@
                                                          Translator tr) const
     {
         if (optional<const self_type&> child = get_child_optional(path))
- return child.get().get_value_optional<Type>(tr);
+ return child.get().
+ BOOST_NESTED_TEMPLATE get_value_optional<Type>(tr);
         else
             return optional<Type>();
     }


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