summaryrefslogtreecommitdiff
path: root/src/mbgl/sprite
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/sprite')
-rw-r--r--src/mbgl/sprite/sprite_atlas.hpp10
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 {