Skip to content

Commit 186137c

Browse files
committed
space between quotes and suffix is deprecated in C++23
Signed-off-by: Nuno Gonçalves <[email protected]>
1 parent 0df2b32 commit 186137c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/graphqlservice/GraphQLParse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ constexpr size_t c_defaultDepthLimit = 25;
5050

5151
} // namespace peg
5252

53-
[[nodiscard("unnecessary parse")]] GRAPHQLPEG_EXPORT peg::ast operator"" _graphql(
53+
[[nodiscard("unnecessary parse")]] GRAPHQLPEG_EXPORT peg::ast operator""_graphql(
5454
const char* text, size_t size);
5555

5656
} // namespace graphql

src/SyntaxTree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ ast parseFile(std::string_view filename, size_t depthLimit)
11481148

11491149
} // namespace peg
11501150

1151-
peg::ast operator"" _graphql(const char* text, size_t size)
1151+
peg::ast operator""_graphql(const char* text, size_t size)
11521152
{
11531153
peg::ast result { std::make_shared<peg::ast_input>(
11541154
peg::ast_input { peg::ast_string_view { { text, size } } }),

0 commit comments

Comments
 (0)