diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-29 18:59:07 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-31 16:53:07 +0200 |
commit | 384f1a1960c9a21039642afe9bd1df58a93fddfc (patch) | |
tree | cd4a383d82ee78a8bb38f87703a19b61171c5f1d /src/mbgl/sprite | |
parent | 38f536049a8ed8f4bdf7706f4afcbbaf06c974c9 (diff) | |
download | qtlocation-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.hpp | 2 |
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; |