From 8c745fa53d06f2e648cf4306b0ae19f41de1bd02 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Fri, 19 Aug 2005 09:14:59 +0000 Subject: [PATCH] removed redundant includes --- XPath/impl/xpath_grammar.hpp | 3 --- XPath/impl/xpath_parser.hpp | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/XPath/impl/xpath_grammar.hpp b/XPath/impl/xpath_grammar.hpp index eb2fa53e..4fbdfaee 100644 --- a/XPath/impl/xpath_grammar.hpp +++ b/XPath/impl/xpath_grammar.hpp @@ -6,10 +6,7 @@ #endif #include -#include #include -#include -#include #include "xpath_ast_ids.hpp" diff --git a/XPath/impl/xpath_parser.hpp b/XPath/impl/xpath_parser.hpp index 2d65139d..5f4bd9f1 100644 --- a/XPath/impl/xpath_parser.hpp +++ b/XPath/impl/xpath_parser.hpp @@ -150,7 +150,7 @@ public: if(XPath::factory().find(id) == XPath::factory().end()) { - XPath::dump(i, 0); + //XPath::dump(i, 0); throw UnsupportedException(XPath::names()[id]); } @@ -330,6 +330,7 @@ private: return names; } // init_debugNames + /* static void dump(node_iter_t const& i, int depth) { long id = static_cast(i->value.id().to_long()); @@ -341,6 +342,7 @@ private: for(node_iter_t c = i->children.begin(); c != i->children.end(); ++c) dump(c, depth+2); } // dump + */ XPath(const XPath&); XPath& operator=(const XPath&);