use new path_expression.hpp header to simplify includes
This commit is contained in:
parent
a87f7160dd
commit
cee5872b78
1 changed files with 1 additions and 7 deletions
|
@ -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>
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue