summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-05-31 11:53:04 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2017-06-01 15:38:01 -0700
commit8b37a0704c7c20b1664fee3dfcc79139982a1ce7 (patch)
tree9c0a50330b7e4f152a3a9ee25685fcbe8b9a4df4 /test
parent843da07b28a840fd850056c4b15d492ccc76a646 (diff)
downloadqtlocation-mapboxgl-8b37a0704c7c20b1664fee3dfcc79139982a1ce7.tar.gz
[core] Use fixed-size std::array for ImageSource coordinates
Diffstat (limited to 'test')
-rw-r--r--test/style/source.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index e674d69ed0..84929178d0 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -454,7 +454,7 @@ TEST(Source, ImageSourceImageUpdate) {
// Should be called (test will hang if it doesn't)
test.end();
};
- std::vector<LatLng> coords;
+ std::array<LatLng, 4> coords;
ImageSource source("source", coords);
source.setURL("http://url");