renable to_wkt after g++ compile fix in 0aef7cc55a
This commit is contained in:
parent
b4fd857a66
commit
b62cebf9b5
1 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue