diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-10-26 15:22:31 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-10-27 18:30:58 -0700 |
commit | 62b56b799a7d4fcd1a8f151eed878054b862da5b (patch) | |
tree | 34d510a69f9dd1bca30e9b137feffbd1eb6495d0 /test/tile | |
parent | ef8017198ce8f0bd79ba5a5ed31e35a16e3433bb (diff) | |
download | qtlocation-mapboxgl-62b56b799a7d4fcd1a8f151eed878054b862da5b.tar.gz |
[core] change std::array<uint16_t, 2> to mbgl::Size
Diffstat (limited to 'test/tile')
-rw-r--r-- | test/tile/tile_coordinate.test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/tile/tile_coordinate.test.cpp b/test/tile/tile_coordinate.test.cpp index 740a03894d..4d58bf8c51 100644 --- a/test/tile/tile_coordinate.test.cpp +++ b/test/tile/tile_coordinate.test.cpp @@ -26,8 +26,7 @@ TEST(TileCoordinate, FromLatLng) { Transform transform(onMapChange); const double max = util::tileSize; - const std::array<uint16_t, 2> size { { uint16_t(max), uint16_t(max) } }; - transform.resize(size); + transform.resize({ static_cast<uint32_t>(max), static_cast<uint32_t>(max) }); // Center, top-left, bottom-left, bottom-right, top-right edges. std::vector<std::pair<LatLng, ScreenCoordinate>> edges { |