mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
workaround clang bug on oneiric - closes #1352
This commit is contained in:
parent
b43697fd5d
commit
6acd352d40
@ -278,8 +278,10 @@ bool text_symbolizer_helper<FaceManagerT, DetectorT>::next_placement()
|
||||
info_ = &(text_.get_string_info());
|
||||
if (placement_->properties.orientation)
|
||||
{
|
||||
// https://github.com/mapnik/mapnik/issues/1352
|
||||
mapnik::evaluate<Feature, value_type> evaluator(feature_);
|
||||
angle_ = boost::apply_visitor(
|
||||
evaluate<Feature, value_type>(feature_),
|
||||
evaluator,
|
||||
*(placement_->properties.orientation)).to_double();
|
||||
} else {
|
||||
angle_ = 0.0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user