Add a fix for compiling mapnik against boost 1.53.0.

Qualify the call to phoenix::construct so that the compiler on RHEL6
(gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)) doesn't complain. The
compiler complains that "boost::phoenix::tag::construct" is not a function.
This commit is contained in:
Daniel C. Casimiro 2013-03-25 15:19:57 -04:00
parent 5f137bcc28
commit 2080d0a986

View file

@ -87,7 +87,7 @@ struct feature_collection_grammar :
> lit(']')
;
feature = eps[_a = construct<mapnik::feature_ptr>(new_<mapnik::feature_impl>(ctx_,generate_id_()))]
feature = eps[_a = phoenix::construct<mapnik::feature_ptr>(new_<mapnik::feature_impl>(ctx_,generate_id_()))]
>> feature_g(*_a)[push_back(_r1,_a)]
;