diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-25 13:10:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 13:10:29 +0200 |
commit | 69a5e1e562f7859a1c9745d578cd936a330b9aad (patch) | |
tree | 594e25c9c9e8c935a4f304c5f901ec15e80736dc /basegfx | |
parent | cff0edb0b874986886e5c98ca077bda640059a83 (diff) |
cid#1371281 Missing move assignment operator
Change-Id: I29e1b042d2550bbe909ea432b161bdcb418d8976
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b3dpolygon.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx index 184194313fd8..517cb97ec97e 100644 --- a/basegfx/source/polygon/b3dpolygon.cxx +++ b/basegfx/source/polygon/b3dpolygon.cxx @@ -1508,6 +1508,11 @@ namespace basegfx { } + B3DPolygon::B3DPolygon(B3DPolygon&& rPolygon) : + mpPolygon(std::move(rPolygon.mpPolygon)) + { + } + B3DPolygon::~B3DPolygon() { } @@ -1518,6 +1523,12 @@ namespace basegfx return *this; } + B3DPolygon& B3DPolygon::operator=(B3DPolygon&& rPolygon) + { + mpPolygon = std::move(rPolygon.mpPolygon); + return *this; + } + bool B3DPolygon::operator==(const B3DPolygon& rPolygon) const { if(mpPolygon.same_object(rPolygon.mpPolygon)) |