From c9bedf8bd42ec790d24bce6cb26a8f06c6a09ef5 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 11 May 2012 14:08:46 -0700 Subject: [PATCH] restore compile with boost < 1.47 - disables stacked image filters for now --- include/mapnik/image_filter_parser.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/mapnik/image_filter_parser.hpp b/include/mapnik/image_filter_parser.hpp index b80aa515b..440e506b6 100644 --- a/include/mapnik/image_filter_parser.hpp +++ b/include/mapnik/image_filter_parser.hpp @@ -47,12 +47,18 @@ struct image_filter_grammar : using qi::_b; using qi::eps; using qi::char_; - using qi::no_skip; using phoenix::push_back; using phoenix::construct; - + +#if BOOST_VERSION > 104600 + using qi::no_skip; start = -(filter % no_skip[*char_("; ")]) ; +#else + start = -(filter) + ; +#endif + filter = lit("emboss")[push_back(_val,construct())] |