From 852fef66ef4cbbe753527b42cf23c59de59399b3 Mon Sep 17 00:00:00 2001 From: Alexander Shalamov Date: Tue, 23 Jul 2019 08:54:16 +0300 Subject: [core] Force getGeometries() return const ref --- src/mbgl/annotation/annotation_tile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mbgl/annotation/annotation_tile.cpp') diff --git a/src/mbgl/annotation/annotation_tile.cpp b/src/mbgl/annotation/annotation_tile.cpp index 6c3c9eb617..a410adc95e 100644 --- a/src/mbgl/annotation/annotation_tile.cpp +++ b/src/mbgl/annotation/annotation_tile.cpp @@ -58,7 +58,7 @@ FeatureIdentifier AnnotationTileFeature::getID() const { return data->id; } -GeometryCollection AnnotationTileFeature::getGeometries() const { +const GeometryCollection& AnnotationTileFeature::getGeometries() const { return data->geometries; } -- cgit v1.2.1