diff --git a/include/DOM/DualMode/DualMode.hpp b/include/DOM/DualMode/DualMode.hpp index b7fb1412..90444b78 100644 --- a/include/DOM/DualMode/DualMode.hpp +++ b/include/DOM/DualMode/DualMode.hpp @@ -15,7 +15,7 @@ class Parser : public Arabica::SAX2DOM::Parser BaseT; public: - typedef boost::function2 &, Arabica::DOM::Node &> ElementHandlerT; + typedef boost::function2 &, Arabica::DOM::Node &> ElementHandlerT; void setElementEndHandler(ElementHandlerT func) { @@ -29,7 +29,7 @@ class Parser : public Arabica::SAX2DOM::Parser child(BaseT::currentNode()); + Arabica::DOM::Node child(BaseT::currentNode()); BaseT::endElement(namespaceURI, localName, qName);