Skip to content

Commit

Permalink
It fixes for compiling error on C++20. (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
mura-orz authored Nov 16, 2024
1 parent b0cbfdc commit 9e405c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peglib.h
Original file line number Diff line number Diff line change
Expand Up @@ -3320,8 +3320,8 @@ class ParserGenerator {
}

#if defined(__cpp_lib_char8_t)
static bool parse_test(const char8_t *d, const char8_t *s) {
reutnr parse_test(reinterpret_cast<const char *>(s), s);
static bool parse_test(const char *d, const char8_t *s) {
return parse_test(d, reinterpret_cast<const char *>(s));
}
#endif

Expand Down

0 comments on commit 9e405c4

Please sign in to comment.