From 1336a02a736b7927814701df84fa4671e8c4bcb2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 Dec 2019 11:27:49 +0100 Subject: Silence some Clang 10 trunk -Wdeprecated-copy-dtor ...by explicitly defaulting the copy/move functions in cases where the user- provided dtor is trivial (so could theoretically be replaced with an implicit one, cf. "Remove some redundant user-provided dtors") but is probably defined out-of-class because the class is DLLPUBLIC Change-Id: Iff5e86654b10c7a03333c06312dc5dfce925d947 Reviewed-on: https://gerrit.libreoffice.org/85041 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/drawinglayer/primitive2d/borderlineprimitive2d.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx index 1e0b1e2215f5..d3be9c8d4068 100644 --- a/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/borderlineprimitive2d.hxx @@ -68,6 +68,11 @@ namespace drawinglayer ~BorderLine(); + BorderLine(BorderLine const &) = default; + BorderLine(BorderLine &&) = default; + BorderLine & operator =(BorderLine const &) = default; + BorderLine & operator =(BorderLine &&) = default; + const drawinglayer::attribute::LineAttribute& getLineAttribute() const { return maLineAttribute; } double getStartLeft() const { return mfStartLeft; } double getStartRight() const { return mfStartRight; } -- cgit