[tidy] modernize-raw-string-literal

This commit is contained in:
Bruno de Oliveira Abinader
2017-05-09 11:36:48 +03:00
parent 870067360f
commit 37046938da
8 changed files with 25 additions and 25 deletions

View File

@@ -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 {};
}

View File

@@ -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 {};
}