[tidy] modernize-use-emplace

This commit is contained in:
Bruno de Oliveira Abinader
2017-05-12 16:14:32 +03:00
parent 1e1da36123
commit baeaad83a3
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {