style: Mark JSON literal strings with R"JSON (#2169)

This commit is contained in:
Ayaz Salikhov
2025-05-30 15:50:39 +01:00
committed by GitHub
parent 7588e9d5bf
commit ecdea015b9
76 changed files with 2811 additions and 2748 deletions

View File

@@ -37,7 +37,7 @@ struct BackendCountersTest : WithPrometheus {
static boost::json::object
emptyReport()
{
return boost::json::parse(R"({
return boost::json::parse(R"JSON({
"too_busy": 0,
"write_sync": 0,
"write_sync_retry": 0,
@@ -49,7 +49,7 @@ struct BackendCountersTest : WithPrometheus {
"read_async_completed": 0,
"read_async_retry": 0,
"read_async_error": 0
})")
})JSON")
.as_object();
}