diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-14 23:51:04 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-15 18:41:56 +0300 |
commit | a1b848913fc44a5829e1c44819171bee5b8a0f9c (patch) | |
tree | 03f0af4fb9133906f7fe39172513f55c87373cd2 /src/mbgl/sprite | |
parent | e83b12c387ff74fb77e6771d41b76a86a6b5b9ff (diff) | |
download | qtlocation-mapboxgl-a1b848913fc44a5829e1c44819171bee5b8a0f9c.tar.gz |
[core] Cleanup SpriteAtlasPosition
Diffstat (limited to 'src/mbgl/sprite')
-rw-r--r-- | src/mbgl/sprite/sprite_atlas.hpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mbgl/sprite/sprite_atlas.hpp b/src/mbgl/sprite/sprite_atlas.hpp index 000b7e8132..5d8e05a60c 100644 --- a/src/mbgl/sprite/sprite_atlas.hpp +++ b/src/mbgl/sprite/sprite_atlas.hpp @@ -21,13 +21,9 @@ class SpriteImage; class SpritePosition; struct SpriteAtlasPosition { - inline SpriteAtlasPosition(const std::array<float, 2> size_ = {{0, 0}}, - const std::array<float, 2> tl_ = {{0, 0}}, - const std::array<float, 2> br_ = {{0, 0}}) - : size(size_), tl(tl_), br(br_) {} - std::array<float, 2> size; - std::array<float, 2> tl; - std::array<float, 2> br; + std::array<float, 2> size = {{ 0, 0 }}; + std::array<float, 2> tl = {{ 0, 0 }}; + std::array<float, 2> br = {{ 0, 0 }}; }; struct SpriteAtlasElement { |