From 186137c50425007b287ad0651d988dcf3bce4aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Gon=C3=A7alves?= Date: Tue, 19 Aug 2025 18:36:25 +0100 Subject: [PATCH] space between quotes and suffix is deprecated in C++23 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nuno Gonçalves --- include/graphqlservice/GraphQLParse.h | 2 +- src/SyntaxTree.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/graphqlservice/GraphQLParse.h b/include/graphqlservice/GraphQLParse.h index e983b224..627446dc 100644 --- a/include/graphqlservice/GraphQLParse.h +++ b/include/graphqlservice/GraphQLParse.h @@ -50,7 +50,7 @@ constexpr size_t c_defaultDepthLimit = 25; } // namespace peg -[[nodiscard("unnecessary parse")]] GRAPHQLPEG_EXPORT peg::ast operator"" _graphql( +[[nodiscard("unnecessary parse")]] GRAPHQLPEG_EXPORT peg::ast operator""_graphql( const char* text, size_t size); } // namespace graphql diff --git a/src/SyntaxTree.cpp b/src/SyntaxTree.cpp index 60743538..524067ec 100644 --- a/src/SyntaxTree.cpp +++ b/src/SyntaxTree.cpp @@ -1148,7 +1148,7 @@ ast parseFile(std::string_view filename, size_t depthLimit) } // namespace peg -peg::ast operator"" _graphql(const char* text, size_t size) +peg::ast operator""_graphql(const char* text, size_t size) { peg::ast result { std::make_shared( peg::ast_input { peg::ast_string_view { { text, size } } }),