use detail namespace in json/geometry_generator_parser.hpp
This commit is contained in:
parent
1fa31d5d20
commit
673bd4fd8f
1 changed files with 7 additions and 7 deletions
|
@ -43,7 +43,7 @@ namespace mapnik { namespace json {
|
||||||
|
|
||||||
namespace karma = boost::spirit::karma;
|
namespace karma = boost::spirit::karma;
|
||||||
|
|
||||||
namespace {
|
namespace detail {
|
||||||
|
|
||||||
struct get_type
|
struct get_type
|
||||||
{
|
{
|
||||||
|
@ -143,9 +143,9 @@ struct geometry_generator_grammar :
|
||||||
karma::rule<OutputIterator, karma::locals<unsigned>, geometry_type const& ()> coords2;
|
karma::rule<OutputIterator, karma::locals<unsigned>, geometry_type const& ()> coords2;
|
||||||
karma::rule<OutputIterator, geometry_type::value_type ()> point_coord;
|
karma::rule<OutputIterator, geometry_type::value_type ()> point_coord;
|
||||||
karma::rule<OutputIterator, geometry_type::value_type (unsigned& )> polygon_coord;
|
karma::rule<OutputIterator, geometry_type::value_type (unsigned& )> polygon_coord;
|
||||||
boost::phoenix::function<get_type > _type;
|
boost::phoenix::function<detail::get_type > _type;
|
||||||
boost::phoenix::function<get_first> _first;
|
boost::phoenix::function<detail::get_first> _first;
|
||||||
karma::real_generator<double, json_coordinate_policy<double> > coord_type;
|
karma::real_generator<double, detail::json_coordinate_policy<double> > coord_type;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -165,9 +165,9 @@ struct multi_geometry_generator_grammar :
|
||||||
geometry_type const&()> geometry2;
|
geometry_type const&()> geometry2;
|
||||||
karma::rule<OutputIterator, geometry_container const&()> coordinates;
|
karma::rule<OutputIterator, geometry_container const&()> coordinates;
|
||||||
geometry_generator_grammar<OutputIterator> path;
|
geometry_generator_grammar<OutputIterator> path;
|
||||||
boost::phoenix::function<multi_geometry_type> multi_type_;
|
boost::phoenix::function<detail::multi_geometry_type> multi_type_;
|
||||||
boost::phoenix::function<get_type > type_;
|
boost::phoenix::function<detail::get_type > type_;
|
||||||
boost::phoenix::function<not_empty> not_empty_;
|
boost::phoenix::function<detail::not_empty> not_empty_;
|
||||||
karma::symbols<unsigned, char const*> geometry_types;
|
karma::symbols<unsigned, char const*> geometry_types;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue