fix include

This commit is contained in:
Artem Pavlenko 2011-12-08 16:07:51 +00:00
parent f77fb2a530
commit 32ba92d063

View file

@ -29,7 +29,7 @@
#include <mapnik/global.hpp> #include <mapnik/global.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/util/vertex_iterator.hpp> #include <mapnik/util/vertex_iterator.hpp>
#include <mapnik/geometry_wkt_generator.hpp> #include <mapnik/util/geometry_wkt_generator.hpp>
// boost // boost
#include <boost/spirit/include/karma.hpp> #include <boost/spirit/include/karma.hpp>
@ -42,7 +42,7 @@ bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom)
{ {
typedef std::back_insert_iterator<std::string> sink_type; typedef std::back_insert_iterator<std::string> sink_type;
sink_type sink(wkt); sink_type sink(wkt);
mapnik::util::wkt_generator<sink_type> generator; wkt_generator<sink_type> generator;
bool result = karma::generate(sink, generator, geom); bool result = karma::generate(sink, generator, geom);
return result; return result;
} }