summaryrefslogtreecommitdiff
path: root/src/mbgl/style
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-20 12:38:09 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-30 23:37:44 +0300
commit65f4df5190d764a12a2c8054bfce2838545917e7 (patch)
tree4b0ae8b13e19d88af1b6e3c7ae2c05d41069723c /src/mbgl/style
parent5fa7ff3b63226bda5fe18a89794c76e86f81c4f8 (diff)
downloadqtlocation-mapboxgl-65f4df5190d764a12a2c8054bfce2838545917e7.tar.gz
[core] Fix google-readability-casting errors
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/style')
-rw-r--r--src/mbgl/style/conversion/filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/conversion/filter.cpp b/src/mbgl/style/conversion/filter.cpp
index d665a4b22e..8c3e925598 100644
--- a/src/mbgl/style/conversion/filter.cpp
+++ b/src/mbgl/style/conversion/filter.cpp
@@ -254,7 +254,7 @@ optional<mbgl::Value> serializeLegacyFilter(const Convertible& values) {
result.emplace_back(NullValue());
}
}
- return (mbgl::Value)result;
+ return mbgl::Value(result);
}
return toValue(values);
}