summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map_context.hpp')
-rw-r--r--src/mbgl/map/map_context.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/map/map_context.hpp b/src/mbgl/map/map_context.hpp
index 012da785c9..dd0c2de465 100644
--- a/src/mbgl/map/map_context.hpp
+++ b/src/mbgl/map/map_context.hpp
@@ -10,8 +10,7 @@
#include <mbgl/util/async_task.hpp>
#include <mbgl/util/gl_object_store.hpp>
#include <mbgl/util/ptr.hpp>
-
-#include <mapbox/optional.hpp>
+#include <mbgl/util/optional.hpp>
#include <vector>
@@ -58,7 +57,7 @@ public:
// Style API
void addLayer(std::unique_ptr<StyleLayer>,
- const mapbox::util::optional<std::string> before);
+ const optional<std::string> before);
void removeLayer(const std::string& id);
void setSourceTileCacheSize(size_t size);