summaryrefslogtreecommitdiff
path: root/test/tile
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 16:14:32 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 18:07:36 +0300
commitbaeaad83a3a3e00460b28a0afded18b8f1b83efc (patch)
tree78b293595324804e964aa8c26a186f9e8b741ae1 /test/tile
parent1e1da36123c4520846e0318fcb71551573b54e18 (diff)
downloadqtlocation-mapboxgl-baeaad83a3a3e00460b28a0afded18b8f1b83efc.tar.gz
[tidy] modernize-use-emplace
Diffstat (limited to 'test/tile')
-rw-r--r--test/tile/annotation_tile.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tile/annotation_tile.test.cpp b/test/tile/annotation_tile.test.cpp
index 4d71c5b0b4..607a8cca17 100644
--- a/test/tile/annotation_tile.test.cpp
+++ b/test/tile/annotation_tile.test.cpp
@@ -45,7 +45,7 @@ TEST(AnnotationTile, Issue8289) {
auto data = std::make_unique<AnnotationTileData>();
data->layers.emplace("test", AnnotationTileLayer("test"));
- data->layers.at("test").features.push_back(AnnotationTileFeature(0, FeatureType::Point, GeometryCollection()));
+ data->layers.at("test").features.emplace_back(0, FeatureType::Point, GeometryCollection());
// Simulate layout and placement of a symbol layer.
tile.onLayout(GeometryTile::LayoutResult {