diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-23 08:26:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-04-23 10:07:54 +0200 |
commit | 7ded81e407f9218e19f2f5cdd8e1372ab6edf142 (patch) | |
tree | 35ad6e488122fc1897d5788026880560dd1d4a6f /include/rtl | |
parent | cd7a62a260b2006ea837393b8f0900d336494ce2 (diff) |
Fix --with-latest-c++ build
...after bca539e889d40e06cb3275442622cb075b2484a2 "make OString(OStringLiteral)
constructor constexpr"
Change-Id: I5be28505f0222bbd4d10c7aa5233bd7346136de7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114528
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/rtl')
-rw-r--r-- | include/rtl/string.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 321255a1040b..348a08055d50 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -114,7 +114,7 @@ public: assert(literal[N - 1] == '\0'); //TODO: Use C++20 constexpr std::copy_n (P0202R3): for (std::size_t i = 0; i != N; ++i) { - buffer[i] = literal[i]; + more.buffer[i] = literal[i]; } } #endif |