diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-07-09 09:48:09 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-07-09 09:48:09 -0700 |
commit | 309eee35f3d65e1a0ba9eb2b99ed1472e4172d24 (patch) | |
tree | ea46cdeb6df4b1f00b3436ec45c665ac832960c7 /include | |
parent | 1a3ae887868e9ecd6f0fd69add4b7b504d941b95 (diff) | |
download | qtlocation-mapboxgl-309eee35f3d65e1a0ba9eb2b99ed1472e4172d24.tar.gz |
refs #1859: use traditional struct declaration
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 8178fab49c..c6d5e1475d 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<uint32_t>; using AnnotationSegment = std::vector<LatLng>; using AnnotationSegments = std::vector<AnnotationSegment>; -using EdgeInsets = struct { - double top, left, bottom, right; -}; - class Map : private util::noncopyable { friend class View; |