__cpp_lib_char8_t is generally available now
...after 1eef078050
"Bump baseline to C++20"
Change-Id: I45aa7538174a0c62ad5a4871e2914b30580546c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157827
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
66cf022ec6
commit
8ef60830e4
1 changed files with 1 additions and 7 deletions
|
@ -154,13 +154,7 @@ consteval
|
|||
#else
|
||||
constexpr
|
||||
#endif
|
||||
auto createUriCharClass(
|
||||
#if defined __cpp_lib_char8_t
|
||||
std::u8string_view
|
||||
#else
|
||||
std::string_view
|
||||
#endif
|
||||
unencoded)
|
||||
auto createUriCharClass(std::u8string_view unencoded)
|
||||
{
|
||||
std::array<sal_Bool, UriCharClassSize> a = {};
|
||||
for (auto c: unencoded) {
|
||||
|
|
Loading…
Reference in a new issue