tools/inc/poly.h              |    2 +-
 tools/source/generic/poly.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3b3b27e57e476ba0ee7060ccd2fccd687188893
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Mon Sep 30 10:03:46 2024 +0200
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Mon Sep 30 11:21:34 2024 +0200

    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.bergm...@allotropia.de>

diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index d1187d5251c1..6576beecaf97 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -34,7 +34,7 @@ public:
                     ImplPolygon( sal_uInt16 nInitSize );
                     ImplPolygon( sal_uInt16 nPoints, const Point* pPtAry, 
const PolyFlags* pInitFlags );
                     ImplPolygon( const ImplPolygon& rImplPoly );
-                    ImplPolygon( ImplPolygon&& rImplPoly );
+                    ImplPolygon( ImplPolygon&& rImplPoly ) noexcept;
                     ImplPolygon( const tools::Rectangle& rRect );
                     ImplPolygon( const tools::Rectangle& rRect, sal_uInt32 
nHorzRound, sal_uInt32 nVertRound);
                     ImplPolygon( const Point& rCenter, tools::Long nRadX, 
tools::Long nRadY );
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 8026f238773a..0b8350bd8638 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -84,7 +84,7 @@ ImplPolygon::ImplPolygon( const ImplPolygon& rImpPoly )
     mnPoints = rImpPoly.mnPoints;
 }
 
-ImplPolygon::ImplPolygon(ImplPolygon&& rImpPoly)
+ImplPolygon::ImplPolygon(ImplPolygon&& rImpPoly) noexcept
 {
     mxPointAry = std::move(rImpPoly.mxPointAry);
     mxFlagAry = std::move(rImpPoly.mxFlagAry);

Reply via email to