From 309eee35f3d65e1a0ba9eb2b99ed1472e4172d24 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Thu, 9 Jul 2015 09:48:09 -0700 Subject: [PATCH] refs #1859: use traditional struct declaration --- include/mbgl/map/map.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 8178fab49..c6d5e1475 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -36,14 +36,17 @@ enum class AnnotationType : uint8_t { Shape = 1 << 1, }; +struct EdgeInsets { + double top = 0; + double left = 0; + double bottom = 0; + double right = 0; +}; + using AnnotationIDs = std::vector; using AnnotationSegment = std::vector; using AnnotationSegments = std::vector; -using EdgeInsets = struct { - double top, left, bottom, right; -}; - class Map : private util::noncopyable { friend class View;