summaryrefslogtreecommitdiff
path: root/src/mbgl/algorithm/update_tile_masks.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-27 18:30:35 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-04-17 03:17:22 +0300
commitc1c0145d3a3ee26217f00378509b5a560d3f3969 (patch)
treee02185a9a38232ce7567072db6be0529e6c2be20 /src/mbgl/algorithm/update_tile_masks.hpp
parent8e4a7b02e19b336710b7be073bb47b2f3b0f96e5 (diff)
downloadqtlocation-mapboxgl-c1c0145d3a3ee26217f00378509b5a560d3f3969.tar.gz
[core] Fix google-build-namespaces errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/algorithm/update_tile_masks.hpp')
-rw-r--r--src/mbgl/algorithm/update_tile_masks.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/algorithm/update_tile_masks.hpp b/src/mbgl/algorithm/update_tile_masks.hpp
index 80e0a39be1..000be1606c 100644
--- a/src/mbgl/algorithm/update_tile_masks.hpp
+++ b/src/mbgl/algorithm/update_tile_masks.hpp
@@ -9,8 +9,6 @@
namespace mbgl {
namespace algorithm {
-namespace {
-
template <typename T>
bool tileNeedsMask(const std::reference_wrapper<T>& tile) { return tile.get().usedByRenderedLayers; }
template <typename T>
@@ -55,8 +53,6 @@ void computeTileMasks(
mask.emplace(diffZ, ref.canonical.x - (root.x << diffZ), ref.canonical.y - (root.y << diffZ));
}
-} // namespace
-
// Updates the TileMasks for all renderable tiles. Each renderable tile has a corresponding UnwrappedTileID
// indicating where it should be rendered on the screen. A TileMask describes all regions
// within a renderable tile that are *not* covered by other renderable tiles.