It fixes for compiling error on C++20. (#314)

This commit is contained in:
Mura 2024-11-17 03:55:48 +09:00 committed by GitHub
parent b0cbfdc7f2
commit 9e405c4b03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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