[all] Replace Result<T> with optional<T> plus out Error parameter
This commit is contained in:
@@ -23,7 +23,7 @@ namespace android {
|
||||
env,
|
||||
std::make_unique<mbgl::style::VectorSource>(
|
||||
jni::Make<std::string>(env, sourceId),
|
||||
*style::conversion::convert<variant<std::string, Tileset>>(Value(env, urlOrTileSet))
|
||||
convertURLOrTileset(Value(env, urlOrTileSet))
|
||||
)
|
||||
) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user