summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b3dpolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/polygon/b3dpolygon.cxx')
-rw-r--r--basegfx/source/polygon/b3dpolygon.cxx26
1 files changed, 5 insertions, 21 deletions
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index fc0ef2c23f22..1f2e6ebea67a 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -1414,31 +1414,15 @@ namespace basegfx
{
}
- B3DPolygon::B3DPolygon(const B3DPolygon& rPolygon) :
- mpPolygon(rPolygon.mpPolygon)
- {
- }
+ B3DPolygon::B3DPolygon(const B3DPolygon&) = default;
- B3DPolygon::B3DPolygon(B3DPolygon&& rPolygon) :
- mpPolygon(std::move(rPolygon.mpPolygon))
- {
- }
+ B3DPolygon::B3DPolygon(B3DPolygon&&) = default;
- B3DPolygon::~B3DPolygon()
- {
- }
+ B3DPolygon::~B3DPolygon() = default;
- B3DPolygon& B3DPolygon::operator=(const B3DPolygon& rPolygon)
- {
- mpPolygon = rPolygon.mpPolygon;
- return *this;
- }
+ B3DPolygon& B3DPolygon::operator=(const B3DPolygon&) = default;
- B3DPolygon& B3DPolygon::operator=(B3DPolygon&& rPolygon)
- {
- mpPolygon = std::move(rPolygon.mpPolygon);
- return *this;
- }
+ B3DPolygon& B3DPolygon::operator=(B3DPolygon&&) = default;
bool B3DPolygon::operator==(const B3DPolygon& rPolygon) const
{