use new path_expression.hpp header to simplify includes

This commit is contained in:
Dane Springmeyer 2013-01-03 20:08:14 -08:00
parent a87f7160dd
commit cee5872b78

View file

@ -24,10 +24,7 @@
#define MAPNIK_PATH_EXPRESSIONS_GRAMMAR_HPP
// mapnik
#include <mapnik/attribute.hpp>
// boost
#include <boost/variant.hpp>
#include <mapnik/path_expression.hpp>
// spirit2
#include <boost/spirit/include/qi.hpp>
@ -47,9 +44,6 @@ namespace standard_wide = boost::spirit::standard_wide;
using standard_wide::space_type;
typedef boost::variant<std::string, attribute> path_component;
typedef std::vector<path_component> path_expression;
template <typename Iterator>
struct path_expression_grammar : qi::grammar<Iterator, std::vector<path_component>(), space_type>
{