diff options
Diffstat (limited to 'include/mbgl/style/expression/formatted.hpp')
-rw-r--r-- | include/mbgl/style/expression/formatted.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/formatted.hpp b/include/mbgl/style/expression/formatted.hpp index 28964de941..02e2f7c3d0 100644 --- a/include/mbgl/style/expression/formatted.hpp +++ b/include/mbgl/style/expression/formatted.hpp @@ -23,7 +23,7 @@ optional<FormattedSectionID> toFormattedSectionID(const Variant& variant) { return variant.match( [] (double t) -> FormattedSectionID { return t; }, [] (const std::string& t) -> FormattedSectionID { return t;}, - [] (auto&) -> optional<FormattedSectionID> { return nullopt; }); + [] (const auto&) -> optional<FormattedSectionID> { return nullopt; }); } struct FormattedSection { |