Skip to content

Commit

Permalink
fix iOS constructor -> std::variant
Browse files Browse the repository at this point in the history
  • Loading branch information
bencsikandrei committed May 9, 2023
1 parent 7a70a97 commit 89832ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/platform/darwin/src/MLNRasterDEMSource.mm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@implementation MLNRasterDEMSource

- (std::unique_ptr<mbgl::style::RasterSource>)pendingSourceWithIdentifier:(NSString *)identifier urlOrTileset:(mbgl::variant<std::string, mbgl::Tileset>)urlOrTileset tileSize:(uint16_t)tileSize {
- (std::unique_ptr<mbgl::style::RasterSource>)pendingSourceWithIdentifier:(NSString *)identifier urlOrTileset:(std::variant<std::string, mbgl::Tileset>)urlOrTileset tileSize:(uint16_t)tileSize {
auto source = std::make_unique<mbgl::style::RasterDEMSource>(identifier.UTF8String,
urlOrTileset,
tileSize);
Expand Down

0 comments on commit 89832ab

Please sign in to comment.