From 37046938dae87e99fddbc73573fae32c683c616d Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 9 May 2017 11:36:48 +0300 Subject: [tidy] modernize-raw-string-literal --- include/mbgl/style/conversion/filter.hpp | 2 +- include/mbgl/style/conversion/function.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mbgl') diff --git a/include/mbgl/style/conversion/filter.hpp b/include/mbgl/style/conversion/filter.hpp index 1f8f0fd161..986d1bf80d 100644 --- a/include/mbgl/style/conversion/filter.hpp +++ b/include/mbgl/style/conversion/filter.hpp @@ -57,7 +57,7 @@ public: return convertUnaryFilter(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 {}; } diff --git a/include/mbgl/style/conversion/function.hpp b/include/mbgl/style/conversion/function.hpp index fa8af1e2be..bf5b27a9a6 100644 --- a/include/mbgl/style/conversion/function.hpp +++ b/include/mbgl/style/conversion/function.hpp @@ -218,7 +218,7 @@ optional> convertDefaultValue(const V& value, Error& error) { auto defaultValue = convert(*defaultValueValue, error); if (!defaultValue) { - error = { "wrong type for \"default\": " + error.message }; + error = { R"(wrong type for "default": )" + error.message }; return {}; } -- cgit v1.2.1