summaryrefslogtreecommitdiff
path: root/src/mbgl/util
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 13:36:50 +0300
commit4cdc067636ca7f9201faddf1410b6e781dd7c4c5 (patch)
treeb0856bc904d87a19600499fc64f42377f33451fc /src/mbgl/util
parent46fa69159616860ded192643031f7cb3c10b818b (diff)
downloadqtlocation-mapboxgl-4cdc067636ca7f9201faddf1410b6e781dd7c4c5.tar.gz
[core] Fix modernize-return-braced-init-list errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/util')
-rw-r--r--src/mbgl/util/tile_range.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/tile_range.hpp b/src/mbgl/util/tile_range.hpp
index 8554cfb65e..bfd62f706b 100644
--- a/src/mbgl/util/tile_range.hpp
+++ b/src/mbgl/util/tile_range.hpp
@@ -29,7 +29,7 @@ public:
const auto minY = static_cast<uint32_t>(util::clamp(std::floor(neProj.y), 0.0 , maxTile));
const auto maxY = static_cast<uint32_t>(util::clamp(std::floor(swProj.y), 0.0, maxTile));
- return TileRange({ {minX, minY}, {maxX, maxY} }, {minZoom, maxZoom});
+ return {{{minX, minY}, {maxX, maxY}}, {minZoom, maxZoom}};
}
// Compute the range of tiles covered by the bounds.