include/xmloff/xmlcnimp.hxx | 2 +- xmloff/source/core/xmlcnimp.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 58ddacdb4be78dd00e05a46459ed0bcbe7531632 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Jul 23 09:08:37 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Jul 23 10:40:41 2021 +0200 loplugin:noexceptmove (macOS, libc++) Change-Id: Ic587957fe0bf871b587375a68758a537de910de5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119399 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/xmloff/xmlcnimp.hxx b/include/xmloff/xmlcnimp.hxx index 8b09f5ed79cd..614a8cae742f 100644 --- a/include/xmloff/xmlcnimp.hxx +++ b/include/xmloff/xmlcnimp.hxx @@ -38,7 +38,7 @@ public: ~SvXMLAttrContainerData(); SvXMLAttrContainerData& operator=( const SvXMLAttrContainerData& rCmp ); - SvXMLAttrContainerData& operator=( SvXMLAttrContainerData&& rCmp ); + SvXMLAttrContainerData& operator=( SvXMLAttrContainerData&& rCmp ) noexcept; bool operator ==( const SvXMLAttrContainerData& rCmp ) const; diff --git a/xmloff/source/core/xmlcnimp.cxx b/xmloff/source/core/xmlcnimp.cxx index 34010568bd19..0a7ab2018475 100644 --- a/xmloff/source/core/xmlcnimp.cxx +++ b/xmloff/source/core/xmlcnimp.cxx @@ -36,7 +36,7 @@ SvXMLAttrContainerData& SvXMLAttrContainerData::operator=(const SvXMLAttrContain return *this; } -SvXMLAttrContainerData& SvXMLAttrContainerData::operator=(SvXMLAttrContainerData&& rCopy) +SvXMLAttrContainerData& SvXMLAttrContainerData::operator=(SvXMLAttrContainerData&& rCopy) noexcept { pimpl = std::move( rCopy.pimpl ); return *this; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits