summaryrefslogtreecommitdiff
path: root/include/rtl/string.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtl/string.hxx')
-rw-r--r--include/rtl/string.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx
index 3b33ee4f1ae5..d06a1b727394 100644
--- a/include/rtl/string.hxx
+++ b/include/rtl/string.hxx
@@ -129,7 +129,7 @@ public:
@param str an OString.
@since LibreOffice 5.2
*/
- OString( OString && str )
+ OString( OString && str ) noexcept
{
pData = str.pData;
str.pData = nullptr;
@@ -313,7 +313,7 @@ public:
@param str an OString.
@since LibreOffice 5.2
*/
- OString & operator=( OString && str )
+ OString & operator=( OString && str ) noexcept
{
rtl_string_release( pData );
pData = str.pData;