Use std::optional instead of mbgl::optional (#911)
This commit is contained in:
@@ -588,7 +588,7 @@ void RenderSymbolLayer::prepare(const LayerPrepareParameters& params) {
|
||||
auto featureIndex = static_cast<const GeometryTile*>(tile)->getFeatureIndex();
|
||||
|
||||
if (bucket->sortKeyRanges.empty()) {
|
||||
placementData.push_back({*bucket, renderTile, featureIndex, baseImpl->source, nullopt});
|
||||
placementData.push_back({*bucket, renderTile, featureIndex, baseImpl->source, std::nullopt});
|
||||
} else {
|
||||
for (const auto& sortKeyRange : bucket->sortKeyRanges) {
|
||||
BucketPlacementData layerData{*bucket, renderTile, featureIndex, baseImpl->source, sortKeyRange};
|
||||
|
||||
Reference in New Issue
Block a user