Use std::optional instead of mbgl::optional (#911)
This commit is contained in:
@@ -22,9 +22,9 @@ const gfx::Texture& TileRenderData::getIconAtlasTexture() const {
|
||||
return *atlasTextures->icon;
|
||||
}
|
||||
|
||||
optional<ImagePosition> TileRenderData::getPattern(const std::string&) const {
|
||||
std::optional<ImagePosition> TileRenderData::getPattern(const std::string&) const {
|
||||
assert(false);
|
||||
return nullopt;
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
const LayerRenderData* TileRenderData::getLayerRenderData(const style::Layer::Impl&) const {
|
||||
|
||||
Reference in New Issue
Block a user