diff --git a/src/mbgl/sprite/sprite_atlas.hpp b/src/mbgl/sprite/sprite_atlas.hpp index 000b7e813..5d8e05a60 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 size_ = {{0, 0}}, - const std::array tl_ = {{0, 0}}, - const std::array br_ = {{0, 0}}) - : size(size_), tl(tl_), br(br_) {} - std::array size; - std::array tl; - std::array br; + std::array size = {{ 0, 0 }}; + std::array tl = {{ 0, 0 }}; + std::array br = {{ 0, 0 }}; }; struct SpriteAtlasElement {