[tidy] modernize-raw-string-literal
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
return convertUnaryFilter<NotHasFilter, NotHasIdentifierFilter>(value, error);
|
||||
}
|
||||
|
||||
error = { "filter operator must be one of \"==\", \"!=\", \">\", \">=\", \"<\", \"<=\", \"in\", \"!in\", \"all\", \"any\", \"none\", \"has\", or \"!has\"" };
|
||||
error = { R"(filter operator must be one of "==", "!=", ">", ">=", "<", "<=", "in", "!in", "all", "any", "none", "has", or "!has")" };
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@ optional<optional<T>> convertDefaultValue(const V& value, Error& error) {
|
||||
|
||||
auto defaultValue = convert<T>(*defaultValueValue, error);
|
||||
if (!defaultValue) {
|
||||
error = { "wrong type for \"default\": " + error.message };
|
||||
error = { R"(wrong type for "default": )" + error.message };
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user