From a1b848913fc44a5829e1c44819171bee5b8a0f9c Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 14 Jun 2016 23:51:04 +0300 Subject: [core] Cleanup SpriteAtlasPosition --- src/mbgl/sprite/sprite_atlas.hpp | 10 +++------- 1 file 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 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 { -- cgit v1.2.1