loplugin:noexceptmove (macOS, LLVM 20 trunk libc++)

Change-Id: I77a48bbdfcb3d80af69155b11b31ee8e8223bd64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174261
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
Stephan Bergmann 2024-09-30 10:03:46 +02:00
parent 3d00583063
commit c3b3b27e57
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ public:
ImplPolygon( sal_uInt16 nInitSize ); ImplPolygon( sal_uInt16 nInitSize );
ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, const PolyFlags* pInitFlags ); ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, const PolyFlags* pInitFlags );
ImplPolygon( const ImplPolygon& rImplPoly ); ImplPolygon( const ImplPolygon& rImplPoly );
ImplPolygon( ImplPolygon&& rImplPoly ); ImplPolygon( ImplPolygon&& rImplPoly ) noexcept;
ImplPolygon( const tools::Rectangle& rRect ); ImplPolygon( const tools::Rectangle& rRect );
ImplPolygon( const tools::Rectangle& rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound); ImplPolygon( const tools::Rectangle& rRect, sal_uInt32 nHorzRound, sal_uInt32 nVertRound);
ImplPolygon( const Point& rCenter, tools::Long nRadX, tools::Long nRadY ); ImplPolygon( const Point& rCenter, tools::Long nRadX, tools::Long nRadY );

View file

@ -84,7 +84,7 @@ ImplPolygon::ImplPolygon( const ImplPolygon& rImpPoly )
mnPoints = rImpPoly.mnPoints; mnPoints = rImpPoly.mnPoints;
} }
ImplPolygon::ImplPolygon(ImplPolygon&& rImpPoly) ImplPolygon::ImplPolygon(ImplPolygon&& rImpPoly) noexcept
{ {
mxPointAry = std::move(rImpPoly.mxPointAry); mxPointAry = std::move(rImpPoly.mxPointAry);
mxFlagAry = std::move(rImpPoly.mxFlagAry); mxFlagAry = std::move(rImpPoly.mxFlagAry);