mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-11-24 10:35:29 +00:00
It fixes for compiling error on C++20. (#314)
This commit is contained in:
parent
b0cbfdc7f2
commit
9e405c4b03
4
peglib.h
4
peglib.h
@ -3320,8 +3320,8 @@ public:
|
||||
}
|
||||
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user