include/rtl/uri.hxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 8ef60830e4d3eec70fe98244b2eaa18db091385a
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Oct 11 13:45:30 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Wed Oct 11 19:56:32 2023 +0200

    __cpp_lib_char8_t is generally available now
    
    ...after 1eef07805021b7ca26a1a8894809b6d995747ba1 "Bump baseline to C++20"
    
    Change-Id: I45aa7538174a0c62ad5a4871e2914b30580546c0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157827
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/include/rtl/uri.hxx b/include/rtl/uri.hxx
index 3221a9fba8b2..b0b3e9ad8190 100644
--- a/include/rtl/uri.hxx
+++ b/include/rtl/uri.hxx
@@ -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) {

Reply via email to