From 71792ffd4312d3ce1eac2c5e4341cffc788f316a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 21 Apr 2020 15:48:47 -0700 Subject: [PATCH] [clang-tidy] use raw string Found with modernize-raw-string-literal Signed-off-by: Rosen Penev --- src/config/Parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/Parser.cxx b/src/config/Parser.cxx index f0a213980..1d79dca8e 100644 --- a/src/config/Parser.cxx +++ b/src/config/Parser.cxx @@ -34,7 +34,7 @@ ParseBool(const char *value) if (StringArrayContainsCase(f, value)) return false; - throw FormatRuntimeError("Not a valid boolean (\"yes\" or \"no\"): \"%s\"", value); + throw FormatRuntimeError(R"(Not a valid boolean ("yes" or "no"): "%s")", value); } template