summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-04 13:12:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-04 18:05:35 +0200
commitefa1d0df9a108b585bddd0a7e8ba5a4f64df3489 (patch)
treeaf64eb4e5bae0eaaf33e7b627afd9a120b9932ef /slideshow
parent58eb31be2dff045aa29e328c73a505104181b563 (diff)
-Werror=deprecated-copy (GCC trunk towards GCC 9)
Change-Id: I12d5cfafab17e02dc041eff8af207ba36df9bb5a Reviewed-on: https://gerrit.libreoffice.org/56938 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/inc/shapesubset.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/slideshow/source/inc/shapesubset.hxx b/slideshow/source/inc/shapesubset.hxx
index 7f0a8a747148..0929658b0f30 100644
--- a/slideshow/source/inc/shapesubset.hxx
+++ b/slideshow/source/inc/shapesubset.hxx
@@ -91,6 +91,12 @@ namespace slideshow
~ShapeSubset();
+ // For a rationale for this hacky combination of user-provided dtor, defaulted copy
+ // ctor, and deleted copy assignment op, see the "TODO(Q1)" comment in
+ // CloningNodeCreator (slideshow/source/engine/animationnodes/animationnodefactory.cxx):
+ ShapeSubset(ShapeSubset const &) = default;
+ void operator =(ShapeSubset) = delete;
+
/** Get the actual subset shape.
If the subset is currently revoked, this method