diff --git a/include/mapnik/json/geojson_grammar_x3.hpp b/include/mapnik/json/geojson_grammar_x3.hpp index 36fe6ea42..b5dda0b35 100644 --- a/include/mapnik/json/geojson_grammar_x3.hpp +++ b/include/mapnik/json/geojson_grammar_x3.hpp @@ -72,8 +72,7 @@ namespace grammar { using geojson_grammar_type = x3::rule; using key_value_type = x3::rule; -BOOST_SPIRIT_DECLARE(geojson_grammar_type); -BOOST_SPIRIT_DECLARE(key_value_type); +BOOST_SPIRIT_DECLARE(geojson_grammar_type, key_value_type); } grammar::geojson_grammar_type const& geojson_grammar();