From fca96bf4b21ca47a98a2bd0114f7c22935acc54b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Jun 2021 13:58:17 +0200 Subject: loplugin:noexceptmove (not sure exactly why this started to only hit me now on macOS against LLVM 13 trunk libc++) Change-Id: Ib2ea5b52061a870a5eaa4e5c680d19b87831b87c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116536 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- editeng/source/items/numitem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index ba935384eb31..2dd03a1877cf 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -638,7 +638,7 @@ SvxNumRule::SvxNumRule(const SvxNumRule& rCopy) } } -SvxNumRule::SvxNumRule(SvxNumRule&& rCopy) +SvxNumRule::SvxNumRule(SvxNumRule&& rCopy) noexcept { ++nRefCount; nLevelCount = rCopy.nLevelCount ; @@ -774,7 +774,7 @@ SvxNumRule& SvxNumRule::operator=( const SvxNumRule& rCopy ) return *this; } -SvxNumRule& SvxNumRule::operator=( SvxNumRule&& rCopy ) +SvxNumRule& SvxNumRule::operator=( SvxNumRule&& rCopy ) noexcept { if (this != &rCopy) { -- cgit