diff options
Diffstat (limited to 'src/mbgl/renderer/circle_bucket.cpp')
-rw-r--r-- | src/mbgl/renderer/circle_bucket.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mbgl/renderer/circle_bucket.cpp b/src/mbgl/renderer/circle_bucket.cpp index 6722d04497..e437eff135 100644 --- a/src/mbgl/renderer/circle_bucket.cpp +++ b/src/mbgl/renderer/circle_bucket.cpp @@ -13,8 +13,10 @@ using namespace style; CircleBucket::CircleBucket(const BucketParameters& parameters, const std::vector<const Layer*>& layers) : mode(parameters.mode) { for (const auto& layer : layers) { - paintPropertyBinders.emplace(layer->getID(), - CircleProgram::PaintPropertyBinders( + paintPropertyBinders.emplace( + std::piecewise_construct, + std::forward_as_tuple(layer->getID()), + std::forward_as_tuple( layer->as<CircleLayer>()->impl->paint.evaluated, parameters.tileID.overscaledZ)); } |