workaround clang bug on oneiric - closes #1352
This commit is contained in:
parent
b43697fd5d
commit
6acd352d40
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue