summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/segment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/segment.hpp')
-rw-r--r--src/mbgl/programs/segment.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mbgl/programs/segment.hpp b/src/mbgl/programs/segment.hpp
index ceb6b1536c..f729683ac9 100644
--- a/src/mbgl/programs/segment.hpp
+++ b/src/mbgl/programs/segment.hpp
@@ -2,7 +2,6 @@
#include <mbgl/gl/context.hpp>
#include <mbgl/gl/vertex_array.hpp>
-#include <mbgl/util/optional.hpp>
#include <cstddef>
#include <vector>
@@ -35,7 +34,7 @@ public:
// data-driven paint properties
// * when two fill layers have the same layout properties, but one
// uses fill-color and the other uses fill-pattern
- mutable std::map<std::string, optional<gl::VertexArray>> vertexArrays;
+ mutable std::map<std::string, gl::VertexArray> vertexArrays;
};
template <class Attributes>