summaryrefslogtreecommitdiff
path: root/src/mbgl/style/expression/let.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/expression/let.cpp')
-rw-r--r--src/mbgl/style/expression/let.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/expression/let.cpp b/src/mbgl/style/expression/let.cpp
index 561e8515d4..5c08248eef 100644
--- a/src/mbgl/style/expression/let.cpp
+++ b/src/mbgl/style/expression/let.cpp
@@ -38,7 +38,7 @@ ParseResult Let::parse(const Convertible& value, ParsingContext& ctx) {
}
bool isValidName = std::all_of(name->begin(), name->end(), [](unsigned char c) {
- return std::isalnum(c) || c == '_';
+ return ::isalnum(c) || c == '_';
});
if (!isValidName) {
ctx.error("Variable names must contain only alphanumeric characters or '_'.", 1);