diff --git a/include/mapnik/json/generic_json_grammar_x3_def.hpp b/include/mapnik/json/generic_json_grammar_x3_def.hpp index 390c2251e..64570eeb1 100644 --- a/include/mapnik/json/generic_json_grammar_x3_def.hpp +++ b/include/mapnik/json/generic_json_grammar_x3_def.hpp @@ -25,7 +25,7 @@ #include #include -#include +#include namespace mapnik { namespace json { namespace grammar { @@ -69,9 +69,9 @@ using x3::string; generic_json_grammar_type const value("JSON Value"); generic_json_key_value_type const key_value("JSON Object element"); // rules -x3::rule object("JSON Object"); -x3::rule array("JSON Array"); -x3::rule number("JSON Number"); +x3::rule const object("JSON Object"); +x3::rule const array("JSON Array"); +x3::rule const number("JSON Number"); auto const json_double = x3::real_parser>(); auto const json_integer = x3::int_parser();