summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-07-09 09:48:09 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-07-09 10:14:24 -0700
commit3318a3ced0d0c115e8ba4be40e669619ce4537af (patch)
treeeed014c19d625f9a84a2dce9033f6102feac617f /include
parent82cddb5af29d30181c1b61bab6183471456b6d2a (diff)
downloadqtlocation-mapboxgl-3318a3ced0d0c115e8ba4be40e669619ce4537af.tar.gz
refs #1859: use traditional struct declaration
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp11
1 files changed, 7 insertions, 4 deletions
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<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;