fix compile with BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
This commit is contained in:
parent
63ea37b4c2
commit
d82d9d382f
1 changed files with 2 additions and 1 deletions
|
@ -177,7 +177,8 @@ topojson_datasource::topojson_datasource(parameters const& params)
|
|||
boost::spirit::make_default_multi_pass(base_iterator_type());
|
||||
|
||||
mapnik::topojson::topojson_grammar<boost::spirit::multi_pass<base_iterator_type> > g;
|
||||
bool result = boost::spirit::qi::phrase_parse(begin, end, g, boost::spirit::standard_wide::space, topo_);
|
||||
boost::spirit::standard_wide::space_type space;
|
||||
bool result = boost::spirit::qi::phrase_parse(begin, end, g, space, topo_);
|
||||
if (!result)
|
||||
{
|
||||
throw mapnik::datasource_exception("topojson_datasource: Failed parse TopoJSON file '" + file_ + "'");
|
||||
|
|
Loading…
Add table
Reference in a new issue