diff options
-rw-r--r-- | include/rtl/string.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 1aeecc0ca0a2..995fe7e39c80 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -23,6 +23,7 @@ #include <sal/config.h> #include <cassert> +#include <cstddef> #include <new> #include <ostream> #include <string.h> @@ -256,6 +257,10 @@ public: } #endif +#ifdef LIBO_INTERNAL_ONLY + OString(std::nullptr_t) = delete; +#endif + /** Release the string data. */ |