From 3318a3ced0d0c115e8ba4be40e669619ce4537af Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Thu, 9 Jul 2015 09:48:09 -0700 Subject: refs #1859: use traditional struct declaration --- include/mbgl/map/map.hpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'include/mbgl/map') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 72800a9c1d..294d0efcd6 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; -- cgit v1.2.1