summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/array_assertion.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/expression/array_assertion.hpp')
-rw-r--r--include/mbgl/style/expression/array_assertion.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/array_assertion.hpp b/include/mbgl/style/expression/array_assertion.hpp
index 238fe2223d..1a6cb0b129 100644
--- a/include/mbgl/style/expression/array_assertion.hpp
+++ b/include/mbgl/style/expression/array_assertion.hpp
@@ -70,7 +70,7 @@ public:
auto it = itemTypeName ? itemTypes.find(*itemTypeName) : itemTypes.end();
if (it == itemTypes.end()) {
ctx.error(
- "The item type argument of \"array\" must be one of string, number, boolean",
+ R"(The item type argument of "array" must be one of string, number, boolean)",
1
);
return ParseResult();
@@ -84,7 +84,7 @@ public:
auto n = toNumber(arrayMember(value, 2));
if (!n || *n != ceilf(*n)) {
ctx.error(
- "The length argument to \"array\" must be a positive integer literal.",
+ R"(The length argument to "array" must be a positive integer literal.)",
2
);
return ParseResult();