Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56065 - in trunk: boost/property_tree/detail libs/property_tree/test
From: sebastian.redl_at_[hidden]
Date: 2009-09-06 10:14:01


Author: cornedbee
Date: 2009-09-06 10:14:01 EDT (Sun, 06 Sep 2009)
New Revision: 56065
URL: http://svn.boost.org/trac/boost/changeset/56065

Log:
Fix a missing include problem. Hopefully also fix some other sun-cc problems, though not all.
Text files modified:
   trunk/boost/property_tree/detail/ptree_implementation.hpp | 3 ++-
   trunk/libs/property_tree/test/test_utils.hpp | 1 +
   2 files changed, 3 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 2009-09-06 10:14:01 EDT (Sun, 06 Sep 2009)
@@ -102,7 +102,8 @@
         explicit const_reverse_iterator(const_iterator b)
             : boost::reverse_iterator<const_iterator>(b)
         {}
- const_reverse_iterator(reverse_iterator b)
+ const_reverse_iterator(
+ typename basic_ptree<K, D, C>::reverse_iterator b)
             : boost::reverse_iterator<const_iterator>(b)
         {}
     };

Modified: trunk/libs/property_tree/test/test_utils.hpp
==============================================================================
--- trunk/libs/property_tree/test/test_utils.hpp (original)
+++ trunk/libs/property_tree/test/test_utils.hpp 2009-09-06 10:14:01 EDT (Sun, 06 Sep 2009)
@@ -21,6 +21,7 @@
 #include <boost/test/minimal.hpp>
 #include <boost/property_tree/detail/ptree_utils.hpp>
 #include <fstream>
+#include <cstring>
 
 template<class Ptree>
 typename Ptree::size_type total_size(const Ptree &pt)


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