Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60635 - sandbox/xml/boost/xml/dom
From: seefeld_at_[hidden]
Date: 2010-03-15 21:46:25


Author: stefan
Date: 2010-03-15 21:46:23 EDT (Mon, 15 Mar 2010)
New Revision: 60635
URL: http://svn.boost.org/trac/boost/changeset/60635

Log:
Fix various compilation errors.
Text files modified:
   sandbox/xml/boost/xml/dom/element.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: sandbox/xml/boost/xml/dom/element.hpp
==============================================================================
--- sandbox/xml/boost/xml/dom/element.hpp (original)
+++ sandbox/xml/boost/xml/dom/element.hpp 2010-03-15 21:46:23 EDT (Mon, 15 Mar 2010)
@@ -24,8 +24,8 @@
   typedef detail::node_iterator<node<S> > child_iterator;
   typedef detail::node_iterator<node<S> const> const_child_iterator;
 
- typedef detail::node_iterator<attribute<S> > attribute_iterator;
- typedef detail::node_iterator<attribute<S> const> const_attribute_iterator;
+ typedef detail::node_iterator<dom::attribute<S> > attribute_iterator;
+ typedef detail::node_iterator<dom::attribute<S> const> const_attribute_iterator;
 
   //. Return the attribute for the given name, if it exists.
   node_ptr<dom::attribute<S> const> attribute(S const &name) const;
@@ -114,7 +114,7 @@
 };
 
 template <typename S>
-inline node_ptr<attribute<S> const> element<S>::attribute(S const &name) const
+inline node_ptr<dom::attribute<S> const> element<S>::attribute(S const &name) const
 {
   xmlChar *n = converter<S>::in(name);
   for(xmlAttr *attr = this->impl()->properties; attr; attr = attr->next)
@@ -126,7 +126,7 @@
 }
 
 template <typename S>
-inline node_ptr<attribute<S> > element<S>::attribute(S const &name)
+inline node_ptr<dom::attribute<S> > element<S>::attribute(S const &name)
 {
   xmlChar *n = converter<S>::in(name);
   for(xmlAttr *attr = this->impl()->properties; attr; attr = attr->next)
@@ -275,7 +275,7 @@
 }
 
 template <typename S>
-inline void element<S>::remove(element<S>::child_iterator i)
+inline void element<S>::remove(typename element<S>::child_iterator i)
 {
   if (i != end_children())
   {


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