diff options
Diffstat (limited to 'basegfx/source/polygon/b3dpolypolygon.cxx')
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygon.cxx | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx index 37186aea94b3..b7ea0b36631e 100644 --- a/basegfx/source/polygon/b3dpolypolygon.cxx +++ b/basegfx/source/polygon/b3dpolypolygon.cxx @@ -196,36 +196,20 @@ namespace basegfx { } - B3DPolyPolygon::B3DPolyPolygon(const B3DPolyPolygon& rPolyPolygon) : - mpPolyPolygon(rPolyPolygon.mpPolyPolygon) - { - } + B3DPolyPolygon::B3DPolyPolygon(const B3DPolyPolygon&) = default; - B3DPolyPolygon::B3DPolyPolygon(B3DPolyPolygon&& rPolyPolygon) : - mpPolyPolygon(std::move(rPolyPolygon.mpPolyPolygon)) - { - } + B3DPolyPolygon::B3DPolyPolygon(B3DPolyPolygon&&) = default; B3DPolyPolygon::B3DPolyPolygon(const B3DPolygon& rPolygon) : mpPolyPolygon( ImplB3DPolyPolygon(rPolygon) ) { } - B3DPolyPolygon::~B3DPolyPolygon() - { - } + B3DPolyPolygon::~B3DPolyPolygon() = default; - B3DPolyPolygon& B3DPolyPolygon::operator=(const B3DPolyPolygon& rPolyPolygon) - { - mpPolyPolygon = rPolyPolygon.mpPolyPolygon; - return *this; - } + B3DPolyPolygon& B3DPolyPolygon::operator=(const B3DPolyPolygon&) = default; - B3DPolyPolygon& B3DPolyPolygon::operator=(B3DPolyPolygon&& rPolyPolygon) - { - mpPolyPolygon = std::move(rPolyPolygon.mpPolyPolygon); - return *this; - } + B3DPolyPolygon& B3DPolyPolygon::operator=(B3DPolyPolygon&&) = default; bool B3DPolyPolygon::operator==(const B3DPolyPolygon& rPolyPolygon) const { |