summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-04-15 00:07:21 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-12 18:59:52 +0000
commite4afb390e9d056f4e7758eda7d432612fbcb167c (patch)
tree631727cecded1c3eb5cf966ea95d30cfd5799f2b /src/live_effects
parentMigrated object-test and sp-gradient-test to gtest (diff)
downloadinkscape-e4afb390e9d056f4e7758eda7d432612fbcb167c.tar.gz
inkscape-e4afb390e9d056f4e7758eda7d432612fbcb167c.zip
Run clang-tidy’s modernize-use-equals-delete pass.
Adds a delete specifier on constructors, destructors or assignment methods that should never be called, ensuring they actually never will.
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/effect.h4
-rw-r--r--src/live_effects/lpe-attach-path.h4
-rw-r--r--src/live_effects/lpe-bool.h4
-rw-r--r--src/live_effects/lpe-bounding-box.h4
-rw-r--r--src/live_effects/lpe-bspline.h4
-rw-r--r--src/live_effects/lpe-circle_3pts.h4
-rw-r--r--src/live_effects/lpe-circle_with_radius.h4
-rw-r--r--src/live_effects/lpe-clone-original.h4
-rw-r--r--src/live_effects/lpe-constructgrid.h4
-rw-r--r--src/live_effects/lpe-copy_rotate.h4
-rw-r--r--src/live_effects/lpe-curvestitch.h4
-rw-r--r--src/live_effects/lpe-dynastroke.h4
-rw-r--r--src/live_effects/lpe-ellipse_5pts.h4
-rw-r--r--src/live_effects/lpe-embrodery-stitch.h4
-rw-r--r--src/live_effects/lpe-extrude.h4
-rw-r--r--src/live_effects/lpe-fill-between-many.h4
-rw-r--r--src/live_effects/lpe-fill-between-strokes.h4
-rw-r--r--src/live_effects/lpe-gears.h4
-rw-r--r--src/live_effects/lpe-interpolate.h4
-rw-r--r--src/live_effects/lpe-interpolate_points.h4
-rw-r--r--src/live_effects/lpe-jointype.h4
-rw-r--r--src/live_effects/lpe-knot.h4
-rw-r--r--src/live_effects/lpe-lattice.h4
-rw-r--r--src/live_effects/lpe-lattice2.h4
-rw-r--r--src/live_effects/lpe-line_segment.h4
-rw-r--r--src/live_effects/lpe-measure-segments.h4
-rw-r--r--src/live_effects/lpe-mirror_symmetry.h4
-rw-r--r--src/live_effects/lpe-parallel.h4
-rw-r--r--src/live_effects/lpe-path_length.h4
-rw-r--r--src/live_effects/lpe-perp_bisector.h4
-rw-r--r--src/live_effects/lpe-perspective-envelope.h4
-rw-r--r--src/live_effects/lpe-perspective_path.h4
-rw-r--r--src/live_effects/lpe-powerstroke-interpolators.h28
-rw-r--r--src/live_effects/lpe-powerstroke.h4
-rw-r--r--src/live_effects/lpe-pts2ellipse.h4
-rw-r--r--src/live_effects/lpe-recursiveskeleton.h4
-rw-r--r--src/live_effects/lpe-rough-hatches.h4
-rw-r--r--src/live_effects/lpe-roughen.h4
-rw-r--r--src/live_effects/lpe-ruler.h4
-rw-r--r--src/live_effects/lpe-show_handles.h4
-rw-r--r--src/live_effects/lpe-simplify.h4
-rw-r--r--src/live_effects/lpe-skeleton.h4
-rw-r--r--src/live_effects/lpe-sketch.h4
-rw-r--r--src/live_effects/lpe-spiro.h4
-rw-r--r--src/live_effects/lpe-tangent_to_curve.h4
-rw-r--r--src/live_effects/lpe-taperstroke.h4
-rw-r--r--src/live_effects/lpe-test-doEffect-stack.h4
-rw-r--r--src/live_effects/lpe-text_label.h4
-rw-r--r--src/live_effects/lpe-transform_2pts.h4
-rw-r--r--src/live_effects/lpe-vonkoch.h4
-rw-r--r--src/live_effects/parameter/bool.h4
-rw-r--r--src/live_effects/parameter/colorpicker.h4
-rw-r--r--src/live_effects/parameter/enum.h4
-rw-r--r--src/live_effects/parameter/fontbutton.h4
-rw-r--r--src/live_effects/parameter/hidden.h4
-rw-r--r--src/live_effects/parameter/item-reference.h4
-rw-r--r--src/live_effects/parameter/item.h4
-rw-r--r--src/live_effects/parameter/message.h4
-rw-r--r--src/live_effects/parameter/originalitem.h4
-rw-r--r--src/live_effects/parameter/originalpath.h4
-rw-r--r--src/live_effects/parameter/originalpatharray.h4
-rw-r--r--src/live_effects/parameter/parameter.h8
-rw-r--r--src/live_effects/parameter/path-reference.h4
-rw-r--r--src/live_effects/parameter/path.h4
-rw-r--r--src/live_effects/parameter/point.h4
-rw-r--r--src/live_effects/parameter/powerstrokepointarray.h4
-rw-r--r--src/live_effects/parameter/random.h4
-rw-r--r--src/live_effects/parameter/satellitesarray.h4
-rw-r--r--src/live_effects/parameter/text.h4
-rw-r--r--src/live_effects/parameter/togglebutton.h4
-rw-r--r--src/live_effects/parameter/transformedpoint.h4
-rw-r--r--src/live_effects/parameter/unit.h4
-rw-r--r--src/live_effects/parameter/vector.h4
-rw-r--r--src/live_effects/spiro-converters.h8
74 files changed, 164 insertions, 164 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index cd8f9d743..cb3ee0afc 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -189,8 +189,8 @@ private:
bool is_ready;
bool defaultsopen;
- Effect(const Effect&);
- Effect& operator=(const Effect&);
+ Effect(const Effect&) = delete;
+ Effect& operator=(const Effect&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-attach-path.h b/src/live_effects/lpe-attach-path.h
index 1d6c590d1..6b3a863d2 100644
--- a/src/live_effects/lpe-attach-path.h
+++ b/src/live_effects/lpe-attach-path.h
@@ -29,8 +29,8 @@ public:
virtual void resetDefaults(SPItem const * item);
private:
- LPEAttachPath(const LPEAttachPath&);
- LPEAttachPath& operator=(const LPEAttachPath&);
+ LPEAttachPath(const LPEAttachPath&) = delete;
+ LPEAttachPath& operator=(const LPEAttachPath&) = delete;
Geom::Point curve_start_previous_origin;
Geom::Point curve_end_previous_origin;
diff --git a/src/live_effects/lpe-bool.h b/src/live_effects/lpe-bool.h
index ce46f14d1..b7c522eb3 100644
--- a/src/live_effects/lpe-bool.h
+++ b/src/live_effects/lpe-bool.h
@@ -46,8 +46,8 @@ public:
}
private:
- LPEBool(const LPEBool &);
- LPEBool &operator=(const LPEBool &);
+ LPEBool(const LPEBool &) = delete;
+ LPEBool &operator=(const LPEBool &) = delete;
OriginalPathParam operand_path;
EnumParam<bool_op_ex> bool_operation;
diff --git a/src/live_effects/lpe-bounding-box.h b/src/live_effects/lpe-bounding-box.h
index d028a20ac..fe90ff0ec 100644
--- a/src/live_effects/lpe-bounding-box.h
+++ b/src/live_effects/lpe-bounding-box.h
@@ -27,8 +27,8 @@ private:
BoolParam visual_bounds;
private:
- LPEBoundingBox(const LPEBoundingBox&);
- LPEBoundingBox& operator=(const LPEBoundingBox&);
+ LPEBoundingBox(const LPEBoundingBox&) = delete;
+ LPEBoundingBox& operator=(const LPEBoundingBox&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-bspline.h b/src/live_effects/lpe-bspline.h
index 90cf82c19..44d0e4c26 100644
--- a/src/live_effects/lpe-bspline.h
+++ b/src/live_effects/lpe-bspline.h
@@ -43,8 +43,8 @@ private:
BoolParam only_selected;
ScalarParam weight;
- LPEBSpline(const LPEBSpline &);
- LPEBSpline &operator=(const LPEBSpline &);
+ LPEBSpline(const LPEBSpline &) = delete;
+ LPEBSpline &operator=(const LPEBSpline &) = delete;
};
void sp_bspline_do_effect(SPCurve *curve, double helper_size);
diff --git a/src/live_effects/lpe-circle_3pts.h b/src/live_effects/lpe-circle_3pts.h
index 07c2eddb0..8ef11008b 100644
--- a/src/live_effects/lpe-circle_3pts.h
+++ b/src/live_effects/lpe-circle_3pts.h
@@ -30,8 +30,8 @@ public:
virtual Geom::PathVector doEffect_path (Geom::PathVector const & path_in);
private:
- LPECircle3Pts(const LPECircle3Pts&);
- LPECircle3Pts& operator=(const LPECircle3Pts&);
+ LPECircle3Pts(const LPECircle3Pts&) = delete;
+ LPECircle3Pts& operator=(const LPECircle3Pts&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-circle_with_radius.h b/src/live_effects/lpe-circle_with_radius.h
index f5bf0c414..97b5c8859 100644
--- a/src/live_effects/lpe-circle_with_radius.h
+++ b/src/live_effects/lpe-circle_with_radius.h
@@ -33,8 +33,8 @@ private:
//ScalarParam radius;
// there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
- LPECircleWithRadius(const LPECircleWithRadius&);
- LPECircleWithRadius& operator=(const LPECircleWithRadius&);
+ LPECircleWithRadius(const LPECircleWithRadius&) = delete;
+ LPECircleWithRadius& operator=(const LPECircleWithRadius&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-clone-original.h b/src/live_effects/lpe-clone-original.h
index 9bf09879b..172cd0e0e 100644
--- a/src/live_effects/lpe-clone-original.h
+++ b/src/live_effects/lpe-clone-original.h
@@ -49,8 +49,8 @@ private:
bool listening;
bool is_updating;
sigc::connection modified_connection;
- LPECloneOriginal(const LPECloneOriginal&);
- LPECloneOriginal& operator=(const LPECloneOriginal&);
+ LPECloneOriginal(const LPECloneOriginal&) = delete;
+ LPECloneOriginal& operator=(const LPECloneOriginal&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-constructgrid.h b/src/live_effects/lpe-constructgrid.h
index 49c986742..be6a638ba 100644
--- a/src/live_effects/lpe-constructgrid.h
+++ b/src/live_effects/lpe-constructgrid.h
@@ -31,8 +31,8 @@ private:
ScalarParam nr_x;
ScalarParam nr_y;
- LPEConstructGrid(const LPEConstructGrid&);
- LPEConstructGrid& operator=(const LPEConstructGrid&);
+ LPEConstructGrid(const LPEConstructGrid&) = delete;
+ LPEConstructGrid& operator=(const LPEConstructGrid&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-copy_rotate.h b/src/live_effects/lpe-copy_rotate.h
index 84c1e402e..63db722cb 100644
--- a/src/live_effects/lpe-copy_rotate.h
+++ b/src/live_effects/lpe-copy_rotate.h
@@ -78,8 +78,8 @@ private:
double previous_num_copies;
bool reset;
SPObject * container;
- LPECopyRotate(const LPECopyRotate&);
- LPECopyRotate& operator=(const LPECopyRotate&);
+ LPECopyRotate(const LPECopyRotate&) = delete;
+ LPECopyRotate& operator=(const LPECopyRotate&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-curvestitch.h b/src/live_effects/lpe-curvestitch.h
index 0a48046e0..1c5a39cf5 100644
--- a/src/live_effects/lpe-curvestitch.h
+++ b/src/live_effects/lpe-curvestitch.h
@@ -45,8 +45,8 @@ private:
BoolParam scale_y_rel;
bool transformed;
- LPECurveStitch(const LPECurveStitch&);
- LPECurveStitch& operator=(const LPECurveStitch&);
+ LPECurveStitch(const LPECurveStitch&) = delete;
+ LPECurveStitch& operator=(const LPECurveStitch&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-dynastroke.h b/src/live_effects/lpe-dynastroke.h
index 816cb60a6..ee2642fd3 100644
--- a/src/live_effects/lpe-dynastroke.h
+++ b/src/live_effects/lpe-dynastroke.h
@@ -57,8 +57,8 @@ private:
BoolParam round_ends;
PathParam capping;
- LPEDynastroke(const LPEDynastroke&);
- LPEDynastroke& operator=(const LPEDynastroke&);
+ LPEDynastroke(const LPEDynastroke&) = delete;
+ LPEDynastroke& operator=(const LPEDynastroke&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-ellipse_5pts.h b/src/live_effects/lpe-ellipse_5pts.h
index 691a693dc..467a0d522 100644
--- a/src/live_effects/lpe-ellipse_5pts.h
+++ b/src/live_effects/lpe-ellipse_5pts.h
@@ -29,8 +29,8 @@ public:
virtual Geom::PathVector doEffect_path (Geom::PathVector const & path_in);
private:
- LPEEllipse5Pts(const LPEEllipse5Pts&);
- LPEEllipse5Pts& operator=(const LPEEllipse5Pts&);
+ LPEEllipse5Pts(const LPEEllipse5Pts&) = delete;
+ LPEEllipse5Pts& operator=(const LPEEllipse5Pts&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-embrodery-stitch.h b/src/live_effects/lpe-embrodery-stitch.h
index 67803f37b..32404e87f 100644
--- a/src/live_effects/lpe-embrodery-stitch.h
+++ b/src/live_effects/lpe-embrodery-stitch.h
@@ -62,8 +62,8 @@ private:
ScalarParam show_stitch_gap;
ScalarParam jump_if_longer;
- LPEEmbroderyStitch(const LPEEmbroderyStitch &);
- LPEEmbroderyStitch &operator=(const LPEEmbroderyStitch &);
+ LPEEmbroderyStitch(const LPEEmbroderyStitch &) = delete;
+ LPEEmbroderyStitch &operator=(const LPEEmbroderyStitch &) = delete;
double GetPatternInitialStep(int pattern, int line);
Geom::Point GetStartPointInterpolAfterRev(std::vector<OrderingInfo> const &info, unsigned i);
diff --git a/src/live_effects/lpe-extrude.h b/src/live_effects/lpe-extrude.h
index 491fe4959..32549a66a 100644
--- a/src/live_effects/lpe-extrude.h
+++ b/src/live_effects/lpe-extrude.h
@@ -31,8 +31,8 @@ public:
private:
VectorParam extrude_vector;
- LPEExtrude(const LPEExtrude&);
- LPEExtrude& operator=(const LPEExtrude&);
+ LPEExtrude(const LPEExtrude&) = delete;
+ LPEExtrude& operator=(const LPEExtrude&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-fill-between-many.h b/src/live_effects/lpe-fill-between-many.h
index b03ec6bc3..796638d51 100644
--- a/src/live_effects/lpe-fill-between-many.h
+++ b/src/live_effects/lpe-fill-between-many.h
@@ -41,8 +41,8 @@ private:
HiddenParam applied;
Filllpemethod previous_method;
private:
- LPEFillBetweenMany(const LPEFillBetweenMany&);
- LPEFillBetweenMany& operator=(const LPEFillBetweenMany&);
+ LPEFillBetweenMany(const LPEFillBetweenMany&) = delete;
+ LPEFillBetweenMany& operator=(const LPEFillBetweenMany&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-fill-between-strokes.h b/src/live_effects/lpe-fill-between-strokes.h
index d4bf75d01..da3842797 100644
--- a/src/live_effects/lpe-fill-between-strokes.h
+++ b/src/live_effects/lpe-fill-between-strokes.h
@@ -31,8 +31,8 @@ private:
BoolParam close;
private:
- LPEFillBetweenStrokes(const LPEFillBetweenStrokes&);
- LPEFillBetweenStrokes& operator=(const LPEFillBetweenStrokes&);
+ LPEFillBetweenStrokes(const LPEFillBetweenStrokes&) = delete;
+ LPEFillBetweenStrokes& operator=(const LPEFillBetweenStrokes&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-gears.h b/src/live_effects/lpe-gears.h
index 57b49d2b5..945cae8cc 100644
--- a/src/live_effects/lpe-gears.h
+++ b/src/live_effects/lpe-gears.h
@@ -29,8 +29,8 @@ private:
ScalarParam phi;
ScalarParam min_radius;
- LPEGears(const LPEGears&);
- LPEGears& operator=(const LPEGears&);
+ LPEGears(const LPEGears&) = delete;
+ LPEGears& operator=(const LPEGears&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-interpolate.h b/src/live_effects/lpe-interpolate.h
index ef8043e46..629b6906f 100644
--- a/src/live_effects/lpe-interpolate.h
+++ b/src/live_effects/lpe-interpolate.h
@@ -35,8 +35,8 @@ private:
ScalarParam number_of_steps;
BoolParam equidistant_spacing;
- LPEInterpolate(const LPEInterpolate&);
- LPEInterpolate& operator=(const LPEInterpolate&);
+ LPEInterpolate(const LPEInterpolate&) = delete;
+ LPEInterpolate& operator=(const LPEInterpolate&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-interpolate_points.h b/src/live_effects/lpe-interpolate_points.h
index eb706a320..395fbc9fb 100644
--- a/src/live_effects/lpe-interpolate_points.h
+++ b/src/live_effects/lpe-interpolate_points.h
@@ -30,8 +30,8 @@ public:
private:
EnumParam<unsigned> interpolator_type;
- LPEInterpolatePoints(const LPEInterpolatePoints&);
- LPEInterpolatePoints& operator=(const LPEInterpolatePoints&);
+ LPEInterpolatePoints(const LPEInterpolatePoints&) = delete;
+ LPEInterpolatePoints& operator=(const LPEInterpolatePoints&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-jointype.h b/src/live_effects/lpe-jointype.h
index ef7abdcc7..24f667d29 100644
--- a/src/live_effects/lpe-jointype.h
+++ b/src/live_effects/lpe-jointype.h
@@ -27,8 +27,8 @@ public:
virtual Geom::PathVector doEffect_path (Geom::PathVector const & path_in);
private:
- LPEJoinType(const LPEJoinType&);
- LPEJoinType& operator=(const LPEJoinType&);
+ LPEJoinType(const LPEJoinType&) = delete;
+ LPEJoinType& operator=(const LPEJoinType&) = delete;
ScalarParam line_width;
EnumParam<unsigned> linecap_type;
diff --git a/src/live_effects/lpe-knot.h b/src/live_effects/lpe-knot.h
index c268b051a..4f8ba95f6 100644
--- a/src/live_effects/lpe-knot.h
+++ b/src/live_effects/lpe-knot.h
@@ -88,8 +88,8 @@ private:
unsigned selectedCrossing;//the selected crossing
Geom::Point switcher;//where to put the "switcher" helper
- LPEKnot(const LPEKnot&);
- LPEKnot& operator=(const LPEKnot&);
+ LPEKnot(const LPEKnot&) = delete;
+ LPEKnot& operator=(const LPEKnot&) = delete;
};
diff --git a/src/live_effects/lpe-lattice.h b/src/live_effects/lpe-lattice.h
index 8720af138..52e1a0b9f 100644
--- a/src/live_effects/lpe-lattice.h
+++ b/src/live_effects/lpe-lattice.h
@@ -58,8 +58,8 @@ private:
PointParam grid_point13;
PointParam grid_point14;
PointParam grid_point15;
- LPELattice(const LPELattice&);
- LPELattice& operator=(const LPELattice&);
+ LPELattice(const LPELattice&) = delete;
+ LPELattice& operator=(const LPELattice&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-lattice2.h b/src/live_effects/lpe-lattice2.h
index 899c9e009..17bb67f23 100644
--- a/src/live_effects/lpe-lattice2.h
+++ b/src/live_effects/lpe-lattice2.h
@@ -94,8 +94,8 @@ private:
bool expanded;
Gtk::Expander * expander;
- LPELattice2(const LPELattice2&);
- LPELattice2& operator=(const LPELattice2&);
+ LPELattice2(const LPELattice2&) = delete;
+ LPELattice2& operator=(const LPELattice2&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-line_segment.h b/src/live_effects/lpe-line_segment.h
index def828fe2..c5c0e7476 100644
--- a/src/live_effects/lpe-line_segment.h
+++ b/src/live_effects/lpe-line_segment.h
@@ -43,8 +43,8 @@ private:
Geom::Point A, B; // intersections of the line segment with the limiting bounding box
Geom::Point bboxA, bboxB; // upper left and lower right corner of limiting bounding box
- LPELineSegment(const LPELineSegment&);
- LPELineSegment& operator=(const LPELineSegment&);
+ LPELineSegment(const LPELineSegment&) = delete;
+ LPELineSegment& operator=(const LPELineSegment&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-measure-segments.h b/src/live_effects/lpe-measure-segments.h
index 4f9df35c8..e4cde08a0 100644
--- a/src/live_effects/lpe-measure-segments.h
+++ b/src/live_effects/lpe-measure-segments.h
@@ -95,8 +95,8 @@ private:
double arrow_gap;
guint pagenumber;
gchar const* locale_base;
- LPEMeasureSegments(const LPEMeasureSegments &);
- LPEMeasureSegments &operator=(const LPEMeasureSegments &);
+ LPEMeasureSegments(const LPEMeasureSegments &) = delete;
+ LPEMeasureSegments &operator=(const LPEMeasureSegments &) = delete;
};
diff --git a/src/live_effects/lpe-mirror_symmetry.h b/src/live_effects/lpe-mirror_symmetry.h
index aa02b1352..1b5e936dd 100644
--- a/src/live_effects/lpe-mirror_symmetry.h
+++ b/src/live_effects/lpe-mirror_symmetry.h
@@ -74,8 +74,8 @@ private:
bool reset;
bool center_vert;
bool center_horiz;
- LPEMirrorSymmetry(const LPEMirrorSymmetry&);
- LPEMirrorSymmetry& operator=(const LPEMirrorSymmetry&);
+ LPEMirrorSymmetry(const LPEMirrorSymmetry&) = delete;
+ LPEMirrorSymmetry& operator=(const LPEMirrorSymmetry&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-parallel.h b/src/live_effects/lpe-parallel.h
index ff19d690e..56ee1b9ea 100644
--- a/src/live_effects/lpe-parallel.h
+++ b/src/live_effects/lpe-parallel.h
@@ -54,8 +54,8 @@ private:
Geom::Point N;
Geom::Point dir;
- LPEParallel(const LPEParallel&);
- LPEParallel& operator=(const LPEParallel&);
+ LPEParallel(const LPEParallel&) = delete;
+ LPEParallel& operator=(const LPEParallel&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-path_length.h b/src/live_effects/lpe-path_length.h
index 14d093c09..6530e9fa1 100644
--- a/src/live_effects/lpe-path_length.h
+++ b/src/live_effects/lpe-path_length.h
@@ -30,8 +30,8 @@ public:
virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);
private:
- LPEPathLength(const LPEPathLength&);
- LPEPathLength& operator=(const LPEPathLength&);
+ LPEPathLength(const LPEPathLength&) = delete;
+ LPEPathLength& operator=(const LPEPathLength&) = delete;
ScalarParam scale;
TextParamInternal info_text;
UnitParam unit;
diff --git a/src/live_effects/lpe-perp_bisector.h b/src/live_effects/lpe-perp_bisector.h
index 3a2278de3..219cd6156 100644
--- a/src/live_effects/lpe-perp_bisector.h
+++ b/src/live_effects/lpe-perp_bisector.h
@@ -60,8 +60,8 @@ private:
Geom::Point D; // right end of bisector
Geom::Point perp_dir;
- LPEPerpBisector(const LPEPerpBisector&);
- LPEPerpBisector& operator=(const LPEPerpBisector&);
+ LPEPerpBisector(const LPEPerpBisector&) = delete;
+ LPEPerpBisector& operator=(const LPEPerpBisector&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-perspective-envelope.h b/src/live_effects/lpe-perspective-envelope.h
index 727b7839d..5bf130ca7 100644
--- a/src/live_effects/lpe-perspective-envelope.h
+++ b/src/live_effects/lpe-perspective-envelope.h
@@ -67,8 +67,8 @@ private:
PointParam down_left_point;
PointParam down_right_point;
std::vector<Geom::Point> handles;
- LPEPerspectiveEnvelope(const LPEPerspectiveEnvelope&);
- LPEPerspectiveEnvelope& operator=(const LPEPerspectiveEnvelope&);
+ LPEPerspectiveEnvelope(const LPEPerspectiveEnvelope&) = delete;
+ LPEPerspectiveEnvelope& operator=(const LPEPerspectiveEnvelope&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-perspective_path.h b/src/live_effects/lpe-perspective_path.h
index 87ee453ff..d55d7fe8c 100644
--- a/src/live_effects/lpe-perspective_path.h
+++ b/src/live_effects/lpe-perspective_path.h
@@ -54,8 +54,8 @@ private:
// there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
Geom::Point orig;
- LPEPerspectivePath(const LPEPerspectivePath&);
- LPEPerspectivePath& operator=(const LPEPerspectivePath&);
+ LPEPerspectivePath(const LPEPerspectivePath&) = delete;
+ LPEPerspectivePath& operator=(const LPEPerspectivePath&) = delete;
std::vector<Geom::Point> handles;
double tmat[3][4];
diff --git a/src/live_effects/lpe-powerstroke-interpolators.h b/src/live_effects/lpe-powerstroke-interpolators.h
index e3ab37e27..c0a60fa81 100644
--- a/src/live_effects/lpe-powerstroke-interpolators.h
+++ b/src/live_effects/lpe-powerstroke-interpolators.h
@@ -42,8 +42,8 @@ public:
virtual Geom::Path interpolateToPath(std::vector<Point> const &points) const = 0;
private:
- Interpolator(const Interpolator&);
- Interpolator& operator=(const Interpolator&);
+ Interpolator(const Interpolator&) = delete;
+ Interpolator& operator=(const Interpolator&) = delete;
};
class Linear : public Interpolator {
@@ -61,8 +61,8 @@ public:
};
private:
- Linear(const Linear&);
- Linear& operator=(const Linear&);
+ Linear(const Linear&) = delete;
+ Linear& operator=(const Linear&) = delete;
};
// this class is terrible
@@ -100,8 +100,8 @@ public:
};
private:
- CubicBezierFit(const CubicBezierFit&);
- CubicBezierFit& operator=(const CubicBezierFit&);
+ CubicBezierFit(const CubicBezierFit&) = delete;
+ CubicBezierFit& operator=(const CubicBezierFit&) = delete;
};
/// @todo invent name for this class
@@ -131,8 +131,8 @@ public:
double _beta;
private:
- CubicBezierJohan(const CubicBezierJohan&);
- CubicBezierJohan& operator=(const CubicBezierJohan&);
+ CubicBezierJohan(const CubicBezierJohan&) = delete;
+ CubicBezierJohan& operator=(const CubicBezierJohan&) = delete;
};
/// @todo invent name for this class
@@ -169,8 +169,8 @@ public:
double _beta;
private:
- CubicBezierSmooth(const CubicBezierSmooth&);
- CubicBezierSmooth& operator=(const CubicBezierSmooth&);
+ CubicBezierSmooth(const CubicBezierSmooth&) = delete;
+ CubicBezierSmooth& operator=(const CubicBezierSmooth&) = delete;
};
class SpiroInterpolator : public Interpolator {
@@ -202,8 +202,8 @@ public:
};
private:
- SpiroInterpolator(const SpiroInterpolator&);
- SpiroInterpolator& operator=(const SpiroInterpolator&);
+ SpiroInterpolator(const SpiroInterpolator&) = delete;
+ SpiroInterpolator& operator=(const SpiroInterpolator&) = delete;
};
// Quick mockup for testing the behavior for powerstroke controlpoint interpolation
@@ -282,8 +282,8 @@ private:
return CubicBezier(b0, b1, b2, b3);
}
- CentripetalCatmullRomInterpolator(const CentripetalCatmullRomInterpolator&);
- CentripetalCatmullRomInterpolator& operator=(const CentripetalCatmullRomInterpolator&);
+ CentripetalCatmullRomInterpolator(const CentripetalCatmullRomInterpolator&) = delete;
+ CentripetalCatmullRomInterpolator& operator=(const CentripetalCatmullRomInterpolator&) = delete;
};
diff --git a/src/live_effects/lpe-powerstroke.h b/src/live_effects/lpe-powerstroke.h
index 19696ac57..685a40614 100644
--- a/src/live_effects/lpe-powerstroke.h
+++ b/src/live_effects/lpe-powerstroke.h
@@ -45,8 +45,8 @@ private:
EnumParam<unsigned> linejoin_type;
ScalarParam miter_limit;
EnumParam<unsigned> end_linecap_type;
- LPEPowerStroke(const LPEPowerStroke&);
- LPEPowerStroke& operator=(const LPEPowerStroke&);
+ LPEPowerStroke(const LPEPowerStroke&) = delete;
+ LPEPowerStroke& operator=(const LPEPowerStroke&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-pts2ellipse.h b/src/live_effects/lpe-pts2ellipse.h
index 1e04159d6..d7a6d2d40 100644
--- a/src/live_effects/lpe-pts2ellipse.h
+++ b/src/live_effects/lpe-pts2ellipse.h
@@ -38,8 +38,8 @@ public:
virtual Geom::PathVector doEffect_path (Geom::PathVector const & path_in);
private:
- LPEPts2Ellipse(const LPEPts2Ellipse&);
- LPEPts2Ellipse& operator=(const LPEPts2Ellipse&);
+ LPEPts2Ellipse(const LPEPts2Ellipse&) = delete;
+ LPEPts2Ellipse& operator=(const LPEPts2Ellipse&) = delete;
int genIsometricEllipse (std::vector<Geom::Point> const & points_in,
diff --git a/src/live_effects/lpe-recursiveskeleton.h b/src/live_effects/lpe-recursiveskeleton.h
index 099b030d4..42040e668 100644
--- a/src/live_effects/lpe-recursiveskeleton.h
+++ b/src/live_effects/lpe-recursiveskeleton.h
@@ -29,8 +29,8 @@ public:
private:
ScalarParam iterations;
- LPERecursiveSkeleton(const LPERecursiveSkeleton&);
- LPERecursiveSkeleton& operator=(const LPERecursiveSkeleton&);
+ LPERecursiveSkeleton(const LPERecursiveSkeleton&) = delete;
+ LPERecursiveSkeleton& operator=(const LPERecursiveSkeleton&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-rough-hatches.h b/src/live_effects/lpe-rough-hatches.h
index f8454e1ea..ab1bf098c 100644
--- a/src/live_effects/lpe-rough-hatches.h
+++ b/src/live_effects/lpe-rough-hatches.h
@@ -66,8 +66,8 @@ private:
VectorParam direction;
VectorParam bender;
- LPERoughHatches(const LPERoughHatches&);
- LPERoughHatches& operator=(const LPERoughHatches&);
+ LPERoughHatches(const LPERoughHatches&) = delete;
+ LPERoughHatches& operator=(const LPERoughHatches&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-roughen.h b/src/live_effects/lpe-roughen.h
index bab06022f..aebc0e313 100644
--- a/src/live_effects/lpe-roughen.h
+++ b/src/live_effects/lpe-roughen.h
@@ -64,8 +64,8 @@ private:
BoolParam fixed_displacement;
BoolParam spray_tool_friendly;
long seed;
- LPERoughen(const LPERoughen &);
- LPERoughen &operator=(const LPERoughen &);
+ LPERoughen(const LPERoughen &) = delete;
+ LPERoughen &operator=(const LPERoughen &) = delete;
};
diff --git a/src/live_effects/lpe-ruler.h b/src/live_effects/lpe-ruler.h
index 8c5c83ceb..64c6bf40e 100644
--- a/src/live_effects/lpe-ruler.h
+++ b/src/live_effects/lpe-ruler.h
@@ -62,8 +62,8 @@ private:
static Geom::Point n_major, n_minor; // used for internal computations
- LPERuler(const LPERuler&);
- LPERuler& operator=(const LPERuler&);
+ LPERuler(const LPERuler&) = delete;
+ LPERuler& operator=(const LPERuler&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-show_handles.h b/src/live_effects/lpe-show_handles.h
index 583be9e61..7efa799f3 100644
--- a/src/live_effects/lpe-show_handles.h
+++ b/src/live_effects/lpe-show_handles.h
@@ -51,8 +51,8 @@ private:
Geom::PathVector outline_path;
- LPEShowHandles(const LPEShowHandles &);
- LPEShowHandles &operator=(const LPEShowHandles &);
+ LPEShowHandles(const LPEShowHandles &) = delete;
+ LPEShowHandles &operator=(const LPEShowHandles &) = delete;
};
diff --git a/src/live_effects/lpe-simplify.h b/src/live_effects/lpe-simplify.h
index 6c407f572..c206e45e8 100644
--- a/src/live_effects/lpe-simplify.h
+++ b/src/live_effects/lpe-simplify.h
@@ -48,8 +48,8 @@ private:
Geom::PathVector hp;
Geom::OptRect bbox;
- LPESimplify(const LPESimplify &);
- LPESimplify &operator=(const LPESimplify &);
+ LPESimplify(const LPESimplify &) = delete;
+ LPESimplify &operator=(const LPESimplify &) = delete;
};
diff --git a/src/live_effects/lpe-skeleton.h b/src/live_effects/lpe-skeleton.h
index e633ba5ab..51d96777f 100644
--- a/src/live_effects/lpe-skeleton.h
+++ b/src/live_effects/lpe-skeleton.h
@@ -48,8 +48,8 @@ private:
ScalarParam number;
// there are all kinds of parameters. Check the /live_effects/parameter directory which types exist!
- LPESkeleton(const LPESkeleton&);
- LPESkeleton& operator=(const LPESkeleton&);
+ LPESkeleton(const LPESkeleton&) = delete;
+ LPESkeleton& operator=(const LPESkeleton&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-sketch.h b/src/live_effects/lpe-sketch.h
index 3bef0cf5e..5d178269e 100644
--- a/src/live_effects/lpe-sketch.h
+++ b/src/live_effects/lpe-sketch.h
@@ -57,8 +57,8 @@ private:
ScalarParam max_curvature;
#endif
#endif
- LPESketch(const LPESketch&);
- LPESketch& operator=(const LPESketch&);
+ LPESketch(const LPESketch&) = delete;
+ LPESketch& operator=(const LPESketch&) = delete;
Geom::Piecewise<Geom::D2<Geom::SBasis> > computePerturbation (double s0, double s1);
diff --git a/src/live_effects/lpe-spiro.h b/src/live_effects/lpe-spiro.h
index c8aba53d9..14a026da4 100644
--- a/src/live_effects/lpe-spiro.h
+++ b/src/live_effects/lpe-spiro.h
@@ -23,8 +23,8 @@ public:
virtual void doEffect(SPCurve * curve);
private:
- LPESpiro(const LPESpiro&);
- LPESpiro& operator=(const LPESpiro&);
+ LPESpiro(const LPESpiro&) = delete;
+ LPESpiro& operator=(const LPESpiro&) = delete;
};
void sp_spiro_do_effect(SPCurve *curve);
diff --git a/src/live_effects/lpe-tangent_to_curve.h b/src/live_effects/lpe-tangent_to_curve.h
index a6a3c17ca..5761a3cd7 100644
--- a/src/live_effects/lpe-tangent_to_curve.h
+++ b/src/live_effects/lpe-tangent_to_curve.h
@@ -56,8 +56,8 @@ private:
Geom::Point C; // left end of tangent
Geom::Point D; // right end of tangent
- LPETangentToCurve(const LPETangentToCurve&);
- LPETangentToCurve& operator=(const LPETangentToCurve&);
+ LPETangentToCurve(const LPETangentToCurve&) = delete;
+ LPETangentToCurve& operator=(const LPETangentToCurve&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-taperstroke.h b/src/live_effects/lpe-taperstroke.h
index e3ecbb56c..9e3de772c 100644
--- a/src/live_effects/lpe-taperstroke.h
+++ b/src/live_effects/lpe-taperstroke.h
@@ -51,8 +51,8 @@ private:
Geom::Point start_attach_point;
Geom::Point end_attach_point;
- LPETaperStroke(const LPETaperStroke&);
- LPETaperStroke& operator=(const LPETaperStroke&);
+ LPETaperStroke(const LPETaperStroke&) = delete;
+ LPETaperStroke& operator=(const LPETaperStroke&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-test-doEffect-stack.h b/src/live_effects/lpe-test-doEffect-stack.h
index 208a345c6..525774075 100644
--- a/src/live_effects/lpe-test-doEffect-stack.h
+++ b/src/live_effects/lpe-test-doEffect-stack.h
@@ -35,8 +35,8 @@ private:
PointParam point;
PathParam path;
- LPEdoEffectStackTest(const LPEdoEffectStackTest&);
- LPEdoEffectStackTest& operator=(const LPEdoEffectStackTest&);
+ LPEdoEffectStackTest(const LPEdoEffectStackTest&) = delete;
+ LPEdoEffectStackTest& operator=(const LPEdoEffectStackTest&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/lpe-text_label.h b/src/live_effects/lpe-text_label.h
index 58db5ece9..aef50a79a 100644
--- a/src/live_effects/lpe-text_label.h
+++ b/src/live_effects/lpe-text_label.h
@@ -30,8 +30,8 @@ public:
private:
TextParam label;
- LPETextLabel(const LPETextLabel&);
- LPETextLabel& operator=(const LPETextLabel&);
+ LPETextLabel(const LPETextLabel&) = delete;
+ LPETextLabel& operator=(const LPETextLabel&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-transform_2pts.h b/src/live_effects/lpe-transform_2pts.h
index 0f88e6b00..632cae51d 100644
--- a/src/live_effects/lpe-transform_2pts.h
+++ b/src/live_effects/lpe-transform_2pts.h
@@ -70,8 +70,8 @@ private:
Geom::Angle previous_angle;
Geom::Point previous_start;
double previous_lenght;
- LPETransform2Pts(const LPETransform2Pts&);
- LPETransform2Pts& operator=(const LPETransform2Pts&);
+ LPETransform2Pts(const LPETransform2Pts&) = delete;
+ LPETransform2Pts& operator=(const LPETransform2Pts&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/lpe-vonkoch.h b/src/live_effects/lpe-vonkoch.h
index c0cb7ce42..e762030d7 100644
--- a/src/live_effects/lpe-vonkoch.h
+++ b/src/live_effects/lpe-vonkoch.h
@@ -71,8 +71,8 @@ private:
// PointParam refB;
ScalarParam maxComplexity;
- LPEVonKoch(const LPEVonKoch&);
- LPEVonKoch& operator=(const LPEVonKoch&);
+ LPEVonKoch(const LPEVonKoch&) = delete;
+ LPEVonKoch& operator=(const LPEVonKoch&) = delete;
};
}; //namespace LivePathEffect
diff --git a/src/live_effects/parameter/bool.h b/src/live_effects/parameter/bool.h
index 1aa0e3c4a..2437c97c7 100644
--- a/src/live_effects/parameter/bool.h
+++ b/src/live_effects/parameter/bool.h
@@ -42,8 +42,8 @@ public:
inline operator bool() const { return value; };
private:
- BoolParam(const BoolParam&);
- BoolParam& operator=(const BoolParam&);
+ BoolParam(const BoolParam&) = delete;
+ BoolParam& operator=(const BoolParam&) = delete;
bool value;
bool defvalue;
diff --git a/src/live_effects/parameter/colorpicker.h b/src/live_effects/parameter/colorpicker.h
index 84ae2f6d5..34b11284f 100644
--- a/src/live_effects/parameter/colorpicker.h
+++ b/src/live_effects/parameter/colorpicker.h
@@ -37,8 +37,8 @@ public:
const guint32 get_value() const { return value; };
private:
- ColorPickerParam(const ColorPickerParam&);
- ColorPickerParam& operator=(const ColorPickerParam&);
+ ColorPickerParam(const ColorPickerParam&) = delete;
+ ColorPickerParam& operator=(const ColorPickerParam&) = delete;
guint32 value;
guint32 defvalue;
};
diff --git a/src/live_effects/parameter/enum.h b/src/live_effects/parameter/enum.h
index 82eaa6d43..eef176591 100644
--- a/src/live_effects/parameter/enum.h
+++ b/src/live_effects/parameter/enum.h
@@ -96,8 +96,8 @@ public:
}
private:
- EnumParam(const EnumParam&);
- EnumParam& operator=(const EnumParam&);
+ EnumParam(const EnumParam&) = delete;
+ EnumParam& operator=(const EnumParam&) = delete;
E value;
E defvalue;
diff --git a/src/live_effects/parameter/fontbutton.h b/src/live_effects/parameter/fontbutton.h
index e2d0e1bb2..f028492a7 100644
--- a/src/live_effects/parameter/fontbutton.h
+++ b/src/live_effects/parameter/fontbutton.h
@@ -37,8 +37,8 @@ public:
const Glib::ustring get_value() const { return defvalue; };
private:
- FontButtonParam(const FontButtonParam&);
- FontButtonParam& operator=(const FontButtonParam&);
+ FontButtonParam(const FontButtonParam&) = delete;
+ FontButtonParam& operator=(const FontButtonParam&) = delete;
Glib::ustring value;
Glib::ustring defvalue;
diff --git a/src/live_effects/parameter/hidden.h b/src/live_effects/parameter/hidden.h
index b41c6c93c..e6df8ceea 100644
--- a/src/live_effects/parameter/hidden.h
+++ b/src/live_effects/parameter/hidden.h
@@ -46,8 +46,8 @@ public:
const Glib::ustring get_value() const { return value; };
private:
- HiddenParam(const HiddenParam&);
- HiddenParam& operator=(const HiddenParam&);
+ HiddenParam(const HiddenParam&) = delete;
+ HiddenParam& operator=(const HiddenParam&) = delete;
Glib::ustring value;
Glib::ustring defvalue;
};
diff --git a/src/live_effects/parameter/item-reference.h b/src/live_effects/parameter/item-reference.h
index 597e7ba51..603453ec5 100644
--- a/src/live_effects/parameter/item-reference.h
+++ b/src/live_effects/parameter/item-reference.h
@@ -32,8 +32,8 @@ protected:
virtual bool _acceptObject(SPObject * const obj) const;
private:
- ItemReference(const ItemReference&);
- ItemReference& operator=(const ItemReference&);
+ ItemReference(const ItemReference&) = delete;
+ ItemReference& operator=(const ItemReference&) = delete;
};
} // namespace LivePathEffect
diff --git a/src/live_effects/parameter/item.h b/src/live_effects/parameter/item.h
index d32098db5..7ccfc6a9f 100644
--- a/src/live_effects/parameter/item.h
+++ b/src/live_effects/parameter/item.h
@@ -68,8 +68,8 @@ protected:
gchar * defvalue;
private:
- ItemParam(const ItemParam&);
- ItemParam& operator=(const ItemParam&);
+ ItemParam(const ItemParam&) = delete;
+ ItemParam& operator=(const ItemParam&) = delete;
};
diff --git a/src/live_effects/parameter/message.h b/src/live_effects/parameter/message.h
index fd850a767..255f4b016 100644
--- a/src/live_effects/parameter/message.h
+++ b/src/live_effects/parameter/message.h
@@ -39,8 +39,8 @@ public:
private:
Gtk::Label * _label;
int _min_height;
- MessageParam(const MessageParam&);
- MessageParam& operator=(const MessageParam&);
+ MessageParam(const MessageParam&) = delete;
+ MessageParam& operator=(const MessageParam&) = delete;
const gchar * message;
const gchar * defmessage;
};
diff --git a/src/live_effects/parameter/originalitem.h b/src/live_effects/parameter/originalitem.h
index 168728f86..23720c74a 100644
--- a/src/live_effects/parameter/originalitem.h
+++ b/src/live_effects/parameter/originalitem.h
@@ -35,8 +35,8 @@ protected:
void on_select_original_button_click();
private:
- OriginalItemParam(const OriginalItemParam&);
- OriginalItemParam& operator=(const OriginalItemParam&);
+ OriginalItemParam(const OriginalItemParam&) = delete;
+ OriginalItemParam& operator=(const OriginalItemParam&) = delete;
};
diff --git a/src/live_effects/parameter/originalpath.h b/src/live_effects/parameter/originalpath.h
index ec80d1026..6e9888d42 100644
--- a/src/live_effects/parameter/originalpath.h
+++ b/src/live_effects/parameter/originalpath.h
@@ -42,8 +42,8 @@ protected:
private:
bool _from_original_d;
- OriginalPathParam(const OriginalPathParam&);
- OriginalPathParam& operator=(const OriginalPathParam&);
+ OriginalPathParam(const OriginalPathParam&) = delete;
+ OriginalPathParam& operator=(const OriginalPathParam&) = delete;
};
diff --git a/src/live_effects/parameter/originalpatharray.h b/src/live_effects/parameter/originalpatharray.h
index 8c972fd96..36d5b78a6 100644
--- a/src/live_effects/parameter/originalpatharray.h
+++ b/src/live_effects/parameter/originalpatharray.h
@@ -111,8 +111,8 @@ private:
bool _from_original_d;
bool _allow_only_bspline_spiro;
void update();
- OriginalPathArrayParam(const OriginalPathArrayParam&);
- OriginalPathArrayParam& operator=(const OriginalPathArrayParam&);
+ OriginalPathArrayParam(const OriginalPathArrayParam&) = delete;
+ OriginalPathArrayParam& operator=(const OriginalPathArrayParam&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/parameter/parameter.h b/src/live_effects/parameter/parameter.h
index aa4212f15..33d91d4df 100644
--- a/src/live_effects/parameter/parameter.h
+++ b/src/live_effects/parameter/parameter.h
@@ -93,8 +93,8 @@ protected:
void param_write_to_repr(const char * svgd);
private:
- Parameter(const Parameter&);
- Parameter& operator=(const Parameter&);
+ Parameter(const Parameter&) = delete;
+ Parameter& operator=(const Parameter&) = delete;
};
@@ -143,8 +143,8 @@ protected:
private:
bool on_button_release(GdkEventButton* button_event);
- ScalarParam(const ScalarParam&);
- ScalarParam& operator=(const ScalarParam&);
+ ScalarParam(const ScalarParam&) = delete;
+ ScalarParam& operator=(const ScalarParam&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/parameter/path-reference.h b/src/live_effects/parameter/path-reference.h
index c32d063f6..ccd94dd1d 100644
--- a/src/live_effects/parameter/path-reference.h
+++ b/src/live_effects/parameter/path-reference.h
@@ -32,8 +32,8 @@ protected:
virtual bool _acceptObject(SPObject * const obj) const;
private:
- PathReference(const PathReference&);
- PathReference& operator=(const PathReference&);
+ PathReference(const PathReference&) = delete;
+ PathReference& operator=(const PathReference&) = delete;
};
} // namespace LivePathEffect
diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h
index 635056772..998874980 100644
--- a/src/live_effects/parameter/path.h
+++ b/src/live_effects/parameter/path.h
@@ -98,8 +98,8 @@ private:
bool _copy_button;
bool _paste_button;
bool _link_button;
- PathParam(const PathParam&);
- PathParam& operator=(const PathParam&);
+ PathParam(const PathParam&) = delete;
+ PathParam& operator=(const PathParam&) = delete;
};
diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h
index ea0110100..9d4164c9b 100644
--- a/src/live_effects/parameter/point.h
+++ b/src/live_effects/parameter/point.h
@@ -56,8 +56,8 @@ public:
virtual void addKnotHolderEntities(KnotHolder *knotholder, SPItem *item);
friend class PointParamKnotHolderEntity;
private:
- PointParam(const PointParam&);
- PointParam& operator=(const PointParam&);
+ PointParam(const PointParam&) = delete;
+ PointParam& operator=(const PointParam&) = delete;
bool on_button_release(GdkEventButton* button_event);
Geom::Point defvalue;
bool liveupdate;
diff --git a/src/live_effects/parameter/powerstrokepointarray.h b/src/live_effects/parameter/powerstrokepointarray.h
index a1d4db3ca..d028d706d 100644
--- a/src/live_effects/parameter/powerstrokepointarray.h
+++ b/src/live_effects/parameter/powerstrokepointarray.h
@@ -53,8 +53,8 @@ public:
friend class PowerStrokePointArrayParamKnotHolderEntity;
private:
- PowerStrokePointArrayParam(const PowerStrokePointArrayParam&);
- PowerStrokePointArrayParam& operator=(const PowerStrokePointArrayParam&);
+ PowerStrokePointArrayParam(const PowerStrokePointArrayParam&) = delete;
+ PowerStrokePointArrayParam& operator=(const PowerStrokePointArrayParam&) = delete;
SPKnotShapeType knot_shape;
SPKnotModeType knot_mode;
diff --git a/src/live_effects/parameter/random.h b/src/live_effects/parameter/random.h
index a2c3712a1..9f0114ad2 100644
--- a/src/live_effects/parameter/random.h
+++ b/src/live_effects/parameter/random.h
@@ -61,8 +61,8 @@ private:
long setup_seed(long);
gdouble rand();
- RandomParam(const RandomParam&);
- RandomParam& operator=(const RandomParam&);
+ RandomParam(const RandomParam&) = delete;
+ RandomParam& operator=(const RandomParam&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/parameter/satellitesarray.h b/src/live_effects/parameter/satellitesarray.h
index 3039eb432..e7d61af22 100644
--- a/src/live_effects/parameter/satellitesarray.h
+++ b/src/live_effects/parameter/satellitesarray.h
@@ -65,8 +65,8 @@ protected:
KnotHolder *_knoth;
private:
- SatellitesArrayParam(const SatellitesArrayParam &);
- SatellitesArrayParam &operator=(const SatellitesArrayParam &);
+ SatellitesArrayParam(const SatellitesArrayParam &) = delete;
+ SatellitesArrayParam &operator=(const SatellitesArrayParam &) = delete;
SPKnotShapeType _knot_shape;
SPKnotModeType _knot_mode;
diff --git a/src/live_effects/parameter/text.h b/src/live_effects/parameter/text.h
index a9de26a52..51651edcf 100644
--- a/src/live_effects/parameter/text.h
+++ b/src/live_effects/parameter/text.h
@@ -53,8 +53,8 @@ public:
const Glib::ustring get_value() const { return value; };
private:
- TextParam(const TextParam&);
- TextParam& operator=(const TextParam&);
+ TextParam(const TextParam&) = delete;
+ TextParam& operator=(const TextParam&) = delete;
double anchor_x;
double anchor_y;
bool _hide_canvas_text;
diff --git a/src/live_effects/parameter/togglebutton.h b/src/live_effects/parameter/togglebutton.h
index c5f8a3c28..6d42c5155 100644
--- a/src/live_effects/parameter/togglebutton.h
+++ b/src/live_effects/parameter/togglebutton.h
@@ -55,8 +55,8 @@ public:
virtual void param_update_default(const gchar * default_value);
private:
- ToggleButtonParam(const ToggleButtonParam&);
- ToggleButtonParam& operator=(const ToggleButtonParam&);
+ ToggleButtonParam(const ToggleButtonParam&) = delete;
+ ToggleButtonParam& operator=(const ToggleButtonParam&) = delete;
void refresh_button();
bool value;
diff --git a/src/live_effects/parameter/transformedpoint.h b/src/live_effects/parameter/transformedpoint.h
index 8b92d81ba..b2d3203ac 100644
--- a/src/live_effects/parameter/transformedpoint.h
+++ b/src/live_effects/parameter/transformedpoint.h
@@ -59,8 +59,8 @@ public:
virtual void addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
private:
- TransformedPointParam(const TransformedPointParam&);
- TransformedPointParam& operator=(const TransformedPointParam&);
+ TransformedPointParam(const TransformedPointParam&) = delete;
+ TransformedPointParam& operator=(const TransformedPointParam&) = delete;
Geom::Point defvalue;
diff --git a/src/live_effects/parameter/unit.h b/src/live_effects/parameter/unit.h
index 86e1a24b3..8e3e3cb69 100644
--- a/src/live_effects/parameter/unit.h
+++ b/src/live_effects/parameter/unit.h
@@ -44,8 +44,8 @@ private:
Inkscape::Util::Unit const *unit;
Inkscape::Util::Unit const *defunit;
- UnitParam(const UnitParam&);
- UnitParam& operator=(const UnitParam&);
+ UnitParam(const UnitParam&) = delete;
+ UnitParam& operator=(const UnitParam&) = delete;
};
} //namespace LivePathEffect
diff --git a/src/live_effects/parameter/vector.h b/src/live_effects/parameter/vector.h
index 8c842e805..412d4f0bb 100644
--- a/src/live_effects/parameter/vector.h
+++ b/src/live_effects/parameter/vector.h
@@ -58,8 +58,8 @@ public:
virtual void addKnotHolderEntities(KnotHolder *knotholder, SPItem *item);
private:
- VectorParam(const VectorParam&);
- VectorParam& operator=(const VectorParam&);
+ VectorParam(const VectorParam&) = delete;
+ VectorParam& operator=(const VectorParam&) = delete;
Geom::Point defvalue;
diff --git a/src/live_effects/spiro-converters.h b/src/live_effects/spiro-converters.h
index 6182a5dcd..b6b1c8da8 100644
--- a/src/live_effects/spiro-converters.h
+++ b/src/live_effects/spiro-converters.h
@@ -35,8 +35,8 @@ public:
private:
SPCurve &_curve;
- ConverterSPCurve(const ConverterSPCurve&);
- ConverterSPCurve& operator=(const ConverterSPCurve&);
+ ConverterSPCurve(const ConverterSPCurve&) = delete;
+ ConverterSPCurve& operator=(const ConverterSPCurve&) = delete;
};
@@ -55,8 +55,8 @@ public:
private:
Geom::Path &_path;
- ConverterPath(const ConverterPath&);
- ConverterPath& operator=(const ConverterPath&);
+ ConverterPath(const ConverterPath&) = delete;
+ ConverterPath& operator=(const ConverterPath&) = delete;
};