summaryrefslogtreecommitdiff
path: root/src/mbgl/util/scaling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/scaling.cpp')
-rw-r--r--src/mbgl/util/scaling.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/util/scaling.cpp b/src/mbgl/util/scaling.cpp
index efc2709df3..9b32650511 100644
--- a/src/mbgl/util/scaling.cpp
+++ b/src/mbgl/util/scaling.cpp
@@ -42,7 +42,7 @@ vec2<uint32_t> getBounds(const vec2<uint32_t>& srcSize, const Rect<uint32_t>& sr
std::min(uint32_t(double(srcSize.y - srcPos.y) / factor.y),
std::min(dstSize.y - dstPos.y, dstPos.h)) };
}
-}
+} // namespace
namespace mbgl {
namespace util {
@@ -108,5 +108,5 @@ void nearestNeighborScale(const uint32_t* srcData, const vec2<uint32_t>& srcSize
}
}
-}
-}
+} // namespace util
+} // namespace mbgl