diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-09-17 15:33:54 +0300 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-09-19 14:51:32 +0300 |
commit | 097cf5fc3993c23c6d81f16df9d9040d540dbb21 (patch) | |
tree | bff8b772f67631cc17cf9c1a82f0755578b42bd6 /src/mbgl/geometry | |
parent | f04efb69c0d72c85618c9b609fb8f56a5f0a9aa4 (diff) | |
download | qtlocation-mapboxgl-097cf5fc3993c23c6d81f16df9d9040d540dbb21.tar.gz |
[core] Clang format fixandroid-v8.3.2
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r-- | src/mbgl/geometry/feature_index.cpp | 12 | ||||
-rw-r--r-- | src/mbgl/geometry/feature_index.hpp | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/mbgl/geometry/feature_index.cpp b/src/mbgl/geometry/feature_index.cpp index 982c492469..623b661695 100644 --- a/src/mbgl/geometry/feature_index.cpp +++ b/src/mbgl/geometry/feature_index.cpp @@ -74,12 +74,12 @@ void FeatureIndex::query(std::unordered_map<std::string, std::vector<Feature>>& } } -std::unordered_map<std::string, std::vector<Feature>> -FeatureIndex::lookupSymbolFeatures(const std::vector<IndexedSubfeature>& symbolFeatures, - const RenderedQueryOptions& queryOptions, - const std::unordered_map<std::string, const RenderLayer*>& layers, - const OverscaledTileID& tileID, - const FeatureSortOrder& featureSortOrder) const { +std::unordered_map<std::string, std::vector<Feature>> FeatureIndex::lookupSymbolFeatures( + const std::vector<IndexedSubfeature>& symbolFeatures, + const RenderedQueryOptions& queryOptions, + const std::unordered_map<std::string, const RenderLayer*>& layers, + const OverscaledTileID& tileID, + const FeatureSortOrder& featureSortOrder) const { std::unordered_map<std::string, std::vector<Feature>> result; if (!tileData) { return result; diff --git a/src/mbgl/geometry/feature_index.hpp b/src/mbgl/geometry/feature_index.hpp index 69897b1f4b..7bfbe33391 100644 --- a/src/mbgl/geometry/feature_index.hpp +++ b/src/mbgl/geometry/feature_index.hpp @@ -75,13 +75,13 @@ public: const float pixelsToTileUnits); void setBucketLayerIDs(const std::string& bucketLeaderID, const std::vector<std::string>& layerIDs); - + std::unordered_map<std::string, std::vector<Feature>> lookupSymbolFeatures( - const std::vector<IndexedSubfeature>& symbolFeatures, - const RenderedQueryOptions& options, - const std::unordered_map<std::string, const RenderLayer*>& layers, - const OverscaledTileID& tileID, - const FeatureSortOrder& featureSortOrder) const; + const std::vector<IndexedSubfeature>& symbolFeatures, + const RenderedQueryOptions& options, + const std::unordered_map<std::string, const RenderLayer*>& layers, + const OverscaledTileID& tileID, + const FeatureSortOrder& featureSortOrder) const; private: void addFeature(std::unordered_map<std::string, std::vector<Feature>>& result, const IndexedSubfeature&, |