[core] Use fixed-size std::array for ImageSource coordinates

This commit is contained in:
Asheem Mamoowala
2017-05-31 11:53:04 -07:00
parent 843da07b28
commit 8b37a0704c
14 changed files with 48 additions and 67 deletions

View File

@@ -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");