summaryrefslogtreecommitdiff
path: root/include/rtl/ustrbuf.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-04-14 22:57:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-04-15 09:49:53 +0200
commit21121b0cba765958f38176ba17be85b6bc3bcb58 (patch)
tree043beaa7f813c502de391045d447343c0cb57f79 /include/rtl/ustrbuf.hxx
parent020cf33af4de4f9a0b3a9b920d0b1035959df440 (diff)
Also add C++20 char8_t overloads
Change-Id: I1c55ca09b9fd24927acce9f0e2e2d435f23a3e42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133031 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/rtl/ustrbuf.hxx')
-rw-r--r--include/rtl/ustrbuf.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx
index bb1bb9cef366..8c8cc54f8f01 100644
--- a/include/rtl/ustrbuf.hxx
+++ b/include/rtl/ustrbuf.hxx
@@ -122,6 +122,9 @@ public:
explicit OUStringBuffer(bool) = delete;
explicit OUStringBuffer(char) = delete;
explicit OUStringBuffer(wchar_t) = delete;
+#if defined __cpp_char8_t
+ explicit OUStringBuffer(char8_t) = delete;
+#endif
explicit OUStringBuffer(char16_t) = delete;
explicit OUStringBuffer(char32_t) = delete;
#endif