Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Update android_conversion.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Mar 4, 2020
1 parent e15bbeb commit b9a7ffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions platform/android/src/style/android_conversion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ class ConversionTraits<mbgl::android::Value> {
mbgl::android::Value keys = value.keyArray();
std::size_t length = arrayLength(keys);
for (std::size_t i = 0; i < length; ++i) {
const auto k = keys.get(i).toString();
if (k == "json") {
if (keys.get(i).toString() == "json") {
auto v = value.get("json");
if (v.isString()) {
return parseGeoJSON(v.toString(), error);
Expand Down

0 comments on commit b9a7ffb

Please sign in to comment.