diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 11:58:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 17:04:32 +0200 |
commit | 9ba1acca680e80a816666d67b9429284840b7121 (patch) | |
tree | 7e1e56e2b286318a5d1832b537d7926ca16f8297 /include/basegfx | |
parent | d6ecc3562b0628b1c3e0cac3b4e7a39f4038e2e8 (diff) |
basegfx: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
...by removing explicitly user-provided functions that do the same as their
implicitly-defined counterparts, but may prevent implicitly declared copy
functions from being defined as non-deleted in the future
Change-Id: I88d3024ddfa51fc32de71af50cdfadb16ff93ffd
Reviewed-on: https://gerrit.libreoffice.org/58066
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/point/b3dpoint.hxx | 9 | ||||
-rw-r--r-- | include/basegfx/vector/b3dvector.hxx | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/include/basegfx/point/b3dpoint.hxx b/include/basegfx/point/b3dpoint.hxx index c2711202d3de..c044e6bb6ec7 100644 --- a/include/basegfx/point/b3dpoint.hxx +++ b/include/basegfx/point/b3dpoint.hxx @@ -64,15 +64,6 @@ namespace basegfx : B3DTuple(fX, fY, fZ) {} - /** Create a copy of a 3D Point - - @param rVec - The 3D Point which will be copied. - */ - B3DPoint(const B3DPoint& rVec) - : B3DTuple(rVec) - {} - /** constructor with tuple to allow copy-constructing from B3DTuple-based classes */ diff --git a/include/basegfx/vector/b3dvector.hxx b/include/basegfx/vector/b3dvector.hxx index efb37aa3f15d..e368f8849091 100644 --- a/include/basegfx/vector/b3dvector.hxx +++ b/include/basegfx/vector/b3dvector.hxx @@ -64,15 +64,6 @@ namespace basegfx : B3DTuple(fX, fY, fZ) {} - /** Create a copy of a 3D Vector - - @param rVec - The 3D Vector which will be copied. - */ - B3DVector(const B3DVector& rVec) - : B3DTuple(rVec) - {} - /** constructor with tuple to allow copy-constructing from B3DTuple-based classes */ |