renable to_wkt after g++ compile fix in 0aef7cc55a

This commit is contained in:
Dane Springmeyer 2011-12-17 11:55:30 -08:00
parent b4fd857a66
commit b62cebf9b5

View file

@ -42,9 +42,8 @@ bool to_wkt(std::string & wkt, mapnik::geometry_type const& geom)
{
typedef std::back_insert_iterator<std::string> sink_type;
sink_type sink(wkt);
// disable temporarily until compile works with g++
//wkt_generator<sink_type> generator(true);
bool result = false;//karma::generate(sink, generator, geom);
wkt_generator<sink_type> generator(true);
bool result = karma::generate(sink, generator, geom);
return result;
}
@ -52,9 +51,8 @@ bool to_wkt(std::string & wkt, mapnik::geometry_container const& geom)
{
typedef std::back_insert_iterator<std::string> sink_type;
sink_type sink(wkt);
// disable temporarily until compile works with g++
//wkt_multi_generator<sink_type> generator;
bool result = false;//karma::generate(sink, generator, geom);
wkt_multi_generator<sink_type> generator;
bool result = karma::generate(sink, generator, geom);
return result;
}