diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 17:43:37 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-30 23:37:44 +0300 |
commit | 62b543e44a5d63dd79dfc7ab68696dc8a3f8e3ef (patch) | |
tree | 3e1b27e9cedbc53b43ec952579553618731ab671 /src/mbgl/annotation | |
parent | 65f4df5190d764a12a2c8054bfce2838545917e7 (diff) | |
download | qtlocation-mapboxgl-62b543e44a5d63dd79dfc7ab68696dc8a3f8e3ef.tar.gz |
[core] Fix google-explicit-constructor errors
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/annotation_tile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/annotation/annotation_tile.cpp b/src/mbgl/annotation/annotation_tile.cpp index 69c9f07655..c74fcfd4a9 100644 --- a/src/mbgl/annotation/annotation_tile.cpp +++ b/src/mbgl/annotation/annotation_tile.cpp @@ -70,8 +70,7 @@ const GeometryCollection& AnnotationTileFeature::getGeometries() const { class AnnotationTileLayerData { public: - AnnotationTileLayerData(std::string name_) : name(std::move(name_)) { - } + explicit AnnotationTileLayerData(std::string name_) : name(std::move(name_)) {} const std::string name; std::vector<std::shared_ptr<const AnnotationTileFeatureData>> features; |