removed redundant includes

This commit is contained in:
jez_higgins 2005-08-19 09:14:59 +00:00
parent 79a6295e52
commit 8c745fa53d
2 changed files with 3 additions and 4 deletions

View file

@ -6,10 +6,7 @@
#endif #endif
#include <boost/spirit/core.hpp> #include <boost/spirit/core.hpp>
#include <boost/spirit/phoenix/primitives.hpp>
#include <boost/spirit/symbols/symbols.hpp> #include <boost/spirit/symbols/symbols.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include "xpath_ast_ids.hpp" #include "xpath_ast_ids.hpp"

View file

@ -150,7 +150,7 @@ public:
if(XPath::factory().find(id) == XPath::factory().end()) if(XPath::factory().find(id) == XPath::factory().end())
{ {
XPath::dump(i, 0); //XPath::dump(i, 0);
throw UnsupportedException(XPath::names()[id]); throw UnsupportedException(XPath::names()[id]);
} }
@ -330,6 +330,7 @@ private:
return names; return names;
} // init_debugNames } // init_debugNames
/*
static void dump(node_iter_t const& i, int depth) static void dump(node_iter_t const& i, int depth)
{ {
long id = static_cast<long>(i->value.id().to_long()); long id = static_cast<long>(i->value.id().to_long());
@ -341,6 +342,7 @@ private:
for(node_iter_t c = i->children.begin(); c != i->children.end(); ++c) for(node_iter_t c = i->children.begin(); c != i->children.end(); ++c)
dump(c, depth+2); dump(c, depth+2);
} // dump } // dump
*/
XPath(const XPath&); XPath(const XPath&);
XPath& operator=(const XPath&); XPath& operator=(const XPath&);