summaryrefslogtreecommitdiff
path: root/src/mbgl/sprite
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-29 18:59:07 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-31 16:53:07 +0200
commit384f1a1960c9a21039642afe9bd1df58a93fddfc (patch)
treecd4a383d82ee78a8bb38f87703a19b61171c5f1d /src/mbgl/sprite
parent38f536049a8ed8f4bdf7706f4afcbbaf06c974c9 (diff)
downloadqtlocation-mapboxgl-384f1a1960c9a21039642afe9bd1df58a93fddfc.tar.gz
[core] Use numeric_limits<>::max() for checking element groups
Diffstat (limited to 'src/mbgl/sprite')
-rw-r--r--src/mbgl/sprite/sprite_atlas.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/sprite/sprite_atlas.hpp b/src/mbgl/sprite/sprite_atlas.hpp
index f4ed1b306e..3e0ca51508 100644
--- a/src/mbgl/sprite/sprite_atlas.hpp
+++ b/src/mbgl/sprite/sprite_atlas.hpp
@@ -106,7 +106,7 @@ private:
void _setSprite(const std::string&, const std::shared_ptr<const SpriteImage>& = nullptr);
void emitSpriteLoadedIfComplete();
- const uint16_t width, height;
+ const dimension width, height;
const dimension pixelWidth, pixelHeight;
const float pixelRatio;