Skip to content

Commit 9e405c4

Browse files
authoredNov 16, 2024··
It fixes for compiling error on C++20. (#314)
1 parent b0cbfdc commit 9e405c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎peglib.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3320,8 +3320,8 @@ class ParserGenerator {
33203320
}
33213321

33223322
#if defined(__cpp_lib_char8_t)
3323-
static bool parse_test(const char8_t *d, const char8_t *s) {
3324-
reutnr parse_test(reinterpret_cast<const char *>(s), s);
3323+
static bool parse_test(const char *d, const char8_t *s) {
3324+
return parse_test(d, reinterpret_cast<const char *>(s));
33253325
}
33263326
#endif
33273327

0 commit comments

Comments
 (0)
Please sign in to comment.