diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-20 12:38:09 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-30 23:37:44 +0300 |
commit | 65f4df5190d764a12a2c8054bfce2838545917e7 (patch) | |
tree | 4b0ae8b13e19d88af1b6e3c7ae2c05d41069723c /src/mbgl/style | |
parent | 5fa7ff3b63226bda5fe18a89794c76e86f81c4f8 (diff) | |
download | qtlocation-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.cpp | 2 |
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); } |