diff options
Diffstat (limited to 'src/mbgl/layout/symbol_feature.hpp')
-rw-r--r-- | src/mbgl/layout/symbol_feature.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/layout/symbol_feature.hpp b/src/mbgl/layout/symbol_feature.hpp index 3b4eb78d86..fa5af97861 100644 --- a/src/mbgl/layout/symbol_feature.hpp +++ b/src/mbgl/layout/symbol_feature.hpp @@ -1,6 +1,7 @@ #pragma once #include <mbgl/tile/geometry_tile_data.hpp> +#include <mbgl/util/optional.hpp> #include <string> @@ -9,8 +10,8 @@ namespace mbgl { class SymbolFeature { public: GeometryCollection geometry; - std::u32string label; - std::string sprite; + optional<std::u32string> label; + optional<std::string> sprite; std::size_t index; }; |