summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation/shape_annotation.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/annotation/shape_annotation.hpp')
-rw-r--r--include/mbgl/annotation/shape_annotation.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/mbgl/annotation/shape_annotation.hpp b/include/mbgl/annotation/shape_annotation.hpp
index 121cb7f1d7..4d8d35d9ca 100644
--- a/include/mbgl/annotation/shape_annotation.hpp
+++ b/include/mbgl/annotation/shape_annotation.hpp
@@ -5,8 +5,7 @@
#include <mbgl/style/types.hpp>
#include <mbgl/util/geo.hpp>
-
-#include <mapbox/variant.hpp>
+#include <mbgl/util/variant.hpp>
namespace mbgl {
@@ -27,7 +26,7 @@ struct LineAnnotationProperties {
class ShapeAnnotation {
public:
- using Properties = mapbox::util::variant<
+ using Properties = variant<
FillAnnotationProperties, // creates a fill annotation
LineAnnotationProperties, // creates a line annotation
std::string>; // creates an annotation whose type and properties are sourced from a style layer