diff --git a/src/attribute-rel-css.h b/src/attribute-rel-css.h index 5f3aaf253a43d6f24c0d9553477e03c423ec94f0..dfce37f852aef1ab7efc542193a05c267e71c133 100644 --- a/src/attribute-rel-css.h +++ b/src/attribute-rel-css.h @@ -30,8 +30,8 @@ public: private: SPAttributeRelCSS(); - SPAttributeRelCSS(const SPAttributeRelCSS&); - SPAttributeRelCSS& operator= (const SPAttributeRelCSS&); + SPAttributeRelCSS(const SPAttributeRelCSS&) = delete; + SPAttributeRelCSS& operator= (const SPAttributeRelCSS&) = delete; private: /* diff --git a/src/attribute-rel-svg.h b/src/attribute-rel-svg.h index c0a9cd21550c31d5e8668f6c26404f9356572588..1ec2b50e352b7df7f3e030da7d1d6685454e02f6 100644 --- a/src/attribute-rel-svg.h +++ b/src/attribute-rel-svg.h @@ -27,8 +27,8 @@ public: private: SPAttributeRelSVG(); - SPAttributeRelSVG(const SPAttributeRelSVG&); - SPAttributeRelSVG& operator= (const SPAttributeRelSVG&); + SPAttributeRelSVG(const SPAttributeRelSVG&) = delete; + SPAttributeRelSVG& operator= (const SPAttributeRelSVG&) = delete; private: static SPAttributeRelSVG *instance; diff --git a/src/debug/event-tracker.h b/src/debug/event-tracker.h index fe2069a29de3eec885defb76d78bbb3f61e53c4c..8a2e6242ac25833965b04aeab885ea238b9d1419 100644 --- a/src/debug/event-tracker.h +++ b/src/debug/event-tracker.h @@ -136,8 +136,8 @@ protected: EventTrackerBase(bool active) : _active(active) {} private: - EventTrackerBase(EventTrackerBase const &); // no copy - void operator=(EventTrackerBase const &); // no assign + EventTrackerBase(EventTrackerBase const &) = delete; // no copy + void operator=(EventTrackerBase const &) = delete; // no assign bool _active; }; diff --git a/src/debug/gdk-event-latency-tracker.h b/src/debug/gdk-event-latency-tracker.h index 0fdb18790984e94ef961ed9448fe116183766187..75a861a4080a8ce6ef2e4d79a9563b4d48064a7c 100644 --- a/src/debug/gdk-event-latency-tracker.h +++ b/src/debug/gdk-event-latency-tracker.h @@ -29,8 +29,8 @@ public: static GdkEventLatencyTracker &default_tracker(); private: - GdkEventLatencyTracker(GdkEventLatencyTracker const &); // no copy - void operator=(GdkEventLatencyTracker const &); // no assign + GdkEventLatencyTracker(GdkEventLatencyTracker const &) = delete; // no copy + void operator=(GdkEventLatencyTracker const &) = delete; // no assign double start_seconds; double max_latency; diff --git a/src/device-manager.cpp b/src/device-manager.cpp index 6c8d4514cf4bec5cabc919fcfbe1928654ba9d44..185d417fbbb09ff01bae28af58cc7a6c258e6f90 100644 --- a/src/device-manager.cpp +++ b/src/device-manager.cpp @@ -188,8 +188,8 @@ public: virtual Glib::RefPtr getDevice() {return device;} private: - InputDeviceImpl(InputDeviceImpl const &); // no copy - void operator=(InputDeviceImpl const &); // no assign + InputDeviceImpl(InputDeviceImpl const &) = delete; // no copy + void operator=(InputDeviceImpl const &) = delete; // no assign static Glib::ustring createId(Glib::ustring const &id, Gdk::InputSource source, std::set &knownIDs); diff --git a/src/device-manager.h b/src/device-manager.h index d608a5717ce36830b0b2aba159a94180bdc12a5c..8583ae5d0db26106e543faddd7b5a6ea7d3e55fc 100644 --- a/src/device-manager.h +++ b/src/device-manager.h @@ -34,8 +34,8 @@ protected: virtual ~InputDevice(); private: - InputDevice(InputDevice const &); // no copy - void operator=(InputDevice const &); // no assign + InputDevice(InputDevice const &) = delete; // no copy + void operator=(InputDevice const &) = delete; // no assign }; class DeviceManager : public Glib::Object { @@ -65,8 +65,8 @@ protected: virtual ~DeviceManager(); private: - DeviceManager(DeviceManager const &); // no copy - void operator=(DeviceManager const &); // no assign + DeviceManager(DeviceManager const &) = delete; // no copy + void operator=(DeviceManager const &) = delete; // no assign }; diff --git a/src/display/canvas-axonomgrid.h b/src/display/canvas-axonomgrid.h index 5e06ae56444ff0a81ee0fb4ac1e95b361f44b7bc..4231520e767d0abfe039274cc58b70cd1bc286ab 100644 --- a/src/display/canvas-axonomgrid.h +++ b/src/display/canvas-axonomgrid.h @@ -52,8 +52,8 @@ protected: virtual Gtk::Widget * newSpecificWidget(); private: - CanvasAxonomGrid(const CanvasAxonomGrid&); - CanvasAxonomGrid& operator=(const CanvasAxonomGrid&); + CanvasAxonomGrid(const CanvasAxonomGrid&) = delete; + CanvasAxonomGrid& operator=(const CanvasAxonomGrid&) = delete; void updateWidgets(); diff --git a/src/display/canvas-grid.h b/src/display/canvas-grid.h index c15cde656263230a0bb77b58076eed6ecdb3832f..a02b5d5fde6838606544dacdfb29d857a50f0c47 100644 --- a/src/display/canvas-grid.h +++ b/src/display/canvas-grid.h @@ -135,8 +135,8 @@ protected: Inkscape::UI::Widget::AlignmentSelector *_as_alignment; private: - CanvasGrid(const CanvasGrid&); - CanvasGrid& operator=(const CanvasGrid&); + CanvasGrid(const CanvasGrid&) = delete; + CanvasGrid& operator=(const CanvasGrid&) = delete; }; @@ -163,8 +163,8 @@ protected: virtual Gtk::Widget * newSpecificWidget(); private: - CanvasXYGrid(const CanvasXYGrid&); - CanvasXYGrid& operator=(const CanvasXYGrid&); + CanvasXYGrid(const CanvasXYGrid&) = delete; + CanvasXYGrid& operator=(const CanvasXYGrid&) = delete; void updateWidgets(); diff --git a/src/display/canvas-temporary-item-list.h b/src/display/canvas-temporary-item-list.h index 471bb99b9487c1af3847977b51a7388ef40d8dd1..c3e936b19a79c814f67b3448e9d3983115c8c6aa 100644 --- a/src/display/canvas-temporary-item-list.h +++ b/src/display/canvas-temporary-item-list.h @@ -39,8 +39,8 @@ protected: void _item_timeout (TemporaryItem * tempitem); private: - TemporaryItemList(const TemporaryItemList&); - TemporaryItemList& operator=(const TemporaryItemList&); + TemporaryItemList(const TemporaryItemList&) = delete; + TemporaryItemList& operator=(const TemporaryItemList&) = delete; }; } //namespace Display diff --git a/src/display/canvas-temporary-item.h b/src/display/canvas-temporary-item.h index d7d3951f159cd33dc21fbadc724ec6c7ee08a432..92b16b1ab9f42aca74f62509803c8b91bb1bc330 100644 --- a/src/display/canvas-temporary-item.h +++ b/src/display/canvas-temporary-item.h @@ -38,8 +38,8 @@ protected: static int _timeout(void* data); ///< callback for when lifetime expired private: - TemporaryItem(const TemporaryItem&); - TemporaryItem& operator=(const TemporaryItem&); + TemporaryItem(const TemporaryItem&) = delete; + TemporaryItem& operator=(const TemporaryItem&) = delete; }; } //namespace Display diff --git a/src/display/curve.h b/src/display/curve.h index 87b9984a886e278cda80a81597a35b14b9be2cf2..b79d41ebe5d64bad4b9641062b2ab0c49157cb7e 100644 --- a/src/display/curve.h +++ b/src/display/curve.h @@ -88,8 +88,8 @@ protected: private: // Don't implement these: - SPCurve(const SPCurve&); - SPCurve& operator=(const SPCurve&); + SPCurve(const SPCurve&) = delete; + SPCurve& operator=(const SPCurve&) = delete; }; #endif // !SEEN_DISPLAY_CURVE_H diff --git a/src/display/snap-indicator.h b/src/display/snap-indicator.h index 30040d99cda6cf8736e905463f22e13eca93c63b..d4a144002c1eddd607039b6f7b6c56f1c07c903c 100644 --- a/src/display/snap-indicator.h +++ b/src/display/snap-indicator.h @@ -49,8 +49,8 @@ protected: SPDesktop *_desktop; private: - SnapIndicator(const SnapIndicator&); - SnapIndicator& operator=(const SnapIndicator&); + SnapIndicator(const SnapIndicator&) = delete; + SnapIndicator& operator=(const SnapIndicator&) = delete; }; } //namespace Display diff --git a/src/document-subset.h b/src/document-subset.h index 2799ff1734899d9e5a27d55bce49af7273dfc8c2..b0a17eff5a24778a7cf0fdc57a8aa11430b77cd4 100644 --- a/src/document-subset.h +++ b/src/document-subset.h @@ -46,8 +46,8 @@ protected: void _clear(); private: - DocumentSubset(DocumentSubset const &); // no copy - void operator=(DocumentSubset const &); // no assign + DocumentSubset(DocumentSubset const &) = delete; // no copy + void operator=(DocumentSubset const &) = delete; // no assign void _remove(SPObject *obj, bool subtree); diff --git a/src/document.h b/src/document.h index 65f0cf628ea6c422918687d5e011ae51fee31d5e..1f3de042bddcea478ce6e1df2278132df7a772f6 100644 --- a/src/document.h +++ b/src/document.h @@ -226,8 +226,8 @@ public: void setModifiedSinceSave(bool const modified = true); private: - SPDocument(SPDocument const &); // no copy - void operator=(SPDocument const &); // no assign + SPDocument(SPDocument const &) = delete; // no copy + void operator=(SPDocument const &) = delete; // no assign Persp3D *current_persp3d; /**< Currently 'active' perspective (to which, e.g., newly created boxes are attached) */ Persp3DImpl *current_persp3d_impl; diff --git a/src/event-log.h b/src/event-log.h index c4c78d1ddec29bbc0f96a1a5732b621b4f2c2413..3cbcb6d3a8de6abb3ff5749c75a05bb288ecdaab 100644 --- a/src/event-log.h +++ b/src/event-log.h @@ -141,8 +141,8 @@ private: void checkForVirginity(); //< marks the document as untouched if undo/redo reaches a previously saved state // noncopyable, nonassignable - EventLog(EventLog const &other); - EventLog& operator=(EventLog const &other); + EventLog(EventLog const &other) = delete; + EventLog& operator=(EventLog const &other) = delete; }; } // namespace Inkscape diff --git a/src/gc-anchored.h b/src/gc-anchored.h index 33305df5c6534a923ed3108d182063c8949af860..772621eb2e0e5513f28ce53cc96bd3262219b6ad 100644 --- a/src/gc-anchored.h +++ b/src/gc-anchored.h @@ -73,8 +73,8 @@ private: Anchor *_new_anchor() const; void _free_anchor(Anchor *anchor) const; - Anchored(Anchored const &); // no copy - void operator=(Anchored const &); // no assign + Anchored(Anchored const &) = delete; // no copy + void operator=(Anchored const &) = delete; // no assign }; /** diff --git a/src/knot.h b/src/knot.h index 6db0db358e7616a992cdf937955d65a2fc557698..0d9e95d89cd85b45c0be017e12a41a86090cc2cc 100644 --- a/src/knot.h +++ b/src/knot.h @@ -152,8 +152,8 @@ public: Geom::Point position() const; private: - SPKnot(SPKnot const&); - SPKnot& operator=(SPKnot const&); + SPKnot(SPKnot const&) = delete; + SPKnot& operator=(SPKnot const&) = delete; /** * Set knot control state (dragging/mouseover/normal). diff --git a/src/knotholder.h b/src/knotholder.h index f03eea3ea9f8060d66b77edc60d4233d4368f8b7..b82ba61f910853b17aa06e966e96601b23ef251b 100644 --- a/src/knotholder.h +++ b/src/knotholder.h @@ -89,7 +89,7 @@ protected: Geom::Affine _edit_transform; private: - KnotHolder(); // declared but not defined + KnotHolder() = delete; // declared but not defined }; /** diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index cd8f9d74351c6313faf4d5956367e1d2ab7daa3f..cb3ee0afccba6af41e7a00b555d4958389e376cd 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 1d6c590d1ed301fa4cc804d7de3eda64a577dcc9..6b3a863d2960af51c7d9b6b6519cf07a8aa0b8b8 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 ce46f14d15db9a87c7ee7b1ab94a1d866dd465b1..b7c522eb31517c4df7c8a80c7da32f46a750e5e0 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_operation; diff --git a/src/live_effects/lpe-bounding-box.h b/src/live_effects/lpe-bounding-box.h index d028a20ac812cd2924b3deb72cd47f6181f95d91..fe90ff0ecbbebbfa6528c0b8fdad75af3f8413fd 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 90cf82c19d7940e45467c23ee0258e0db59f87aa..44d0e4c26e7c00c60fa97f73803bc4b6469764ac 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 07c2eddb0cf31bf6f44831bb0d9f35c523fd0a03..8ef11008bc7318a8bbd331d93b741be63af0bc79 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 f5bf0c4144aa499076f2470ba238349d584769cc..97b5c8859c1eef91508047852877b8daf2bfd823 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 9bf09879bd96f4af109e5e6095872b85f7330569..172cd0e0eb8d488aec0bfd6e4b2f65711a27da76 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 49c986742d07780a5d2996954d44d33e2a59e8c9..be6a638bad9ffc5399d33c4046d80392d9baad7b 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 84c1e402e01aa68edabc01b42e7b88689b334be6..63db722cbccc9a01d80ba3233653c59681d2371b 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 0a48046e0a5da2753bf557c71a87dc6d28fd5749..1c5a39cf5e79781b6ec3bf91274297df12b9e872 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 816cb60a6ba82c896ad6e11333605cd7f0e56dd8..ee2642fd33ede59ef14eba87e1750816710aeff7 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 691a693dc99d2287274dfa9368ee04fc720c7891..467a0d522c4e191a0e6c36ddbb2a348ecd600d64 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 67803f37bfabf59cbfabfa259b3c5c0a10e9b522..32404e87f207517e923ba64ade00a8fe4ff67609 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 const &info, unsigned i); diff --git a/src/live_effects/lpe-extrude.h b/src/live_effects/lpe-extrude.h index 491fe495901e299c717ae0c54b954ae5eae2e9c1..32549a66a349ad4f7dc75c12c86045efec6ed6fb 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 b03ec6bc3112b7686840b17f79151ac347f930a4..796638d51bf665f5e3094e8110955a5a096721ce 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 d4bf75d01f68126fb288dfa2abad96a6f2c08cd2..da3842797dd4fb22d110737521565cfe53b9413b 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 57b49d2b5697a0e8ac0855f4f0f6c844efc9915d..945cae8ccdeed384554d3bfce60de321362c3d28 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 ef8043e46f8130567d40c51237633d1c0f506607..629b6906fd063d9751363fdfbd52543e1dd59b7c 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 eb706a3208016ecba3a5e5221c4b97677b4fb82a..395fbc9fb0f26e4842e06ca8382f7f12034c1897 100644 --- a/src/live_effects/lpe-interpolate_points.h +++ b/src/live_effects/lpe-interpolate_points.h @@ -30,8 +30,8 @@ public: private: EnumParam 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 ef7abdcc70f16b322218f6e7994fe81d8cbeca32..24f667d295c3ddb4b414fc7f9fbb177f6678b8f3 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 linecap_type; diff --git a/src/live_effects/lpe-knot.h b/src/live_effects/lpe-knot.h index c268b051a6bdb4bfa549f40a8a385ced2277b547..4f8ba95f62e4e942777a5fbb69cdaa794752383d 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 8720af13822a0ae7d262abad464832203dda78ad..52e1a0b9f219ce0894a3e8757b54bcd75edaca15 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 899c9e00982841f0f9389b0a6ab7f9edcb7c2347..17bb67f23413100092826bb3a46012399360a9ca 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 def828fe271d1c79c91f658ebe85faff7f2833cf..c5c0e74764468c7034b97fbcbbdf6ab5e3dd4a4e 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 4f9df35c8181904ee5237ea1d49aedf9dccc9b72..e4cde08a07b9b648e9164495dc6555c5833b1e00 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 aa02b1352a8be2706e38164920210f4a406345f4..1b5e936ddf225aaa6f34836163a94c10d8bd019f 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 ff19d690efead23109ea5a710394ae1d80216e4e..56ee1b9ea9c652fd04bd9a7a1d8488689018e0d1 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 14d093c09f86dfddb4c0f955e8f8ed8f8d3e0960..6530e9fa191d184cf85884c6b05f31863e755134 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 > doEffect_pwd2 (Geom::Piecewise > 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 3a2278de3cd523c7481d08339fa3931afb88e5e8..219cd6156ef14b2236cf08eff6dc55f2572f51fb 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 727b7839d4d718d5d6cfd3f784d4aef8b24e296a..5bf130ca762f20649ea30591780bded8aa627ebe 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 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 87ee453ff89b80353b5c0b3a2b4591ad79a9060b..d55d7fe8ce4025ab13c8761f15617c1fa24ffd78 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 handles; double tmat[3][4]; diff --git a/src/live_effects/lpe-powerstroke-interpolators.h b/src/live_effects/lpe-powerstroke-interpolators.h index e3ab37e279a114bd3e93ba85b622f011ee722a6e..c0a60fa81be12252121866f97d6725aec5d13487 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 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 19696ac57b8948e075976e3f572ea6372b99c139..685a4061479ebdf82ac3c35c22ebfd8e4d7d2456 100644 --- a/src/live_effects/lpe-powerstroke.h +++ b/src/live_effects/lpe-powerstroke.h @@ -45,8 +45,8 @@ private: EnumParam linejoin_type; ScalarParam miter_limit; EnumParam 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 1e04159d62b73662d6054958f5cb82f9fc3f814e..d7a6d2d40e4b24cb60d48f2e85dd33224c92aeb5 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 const & points_in, diff --git a/src/live_effects/lpe-recursiveskeleton.h b/src/live_effects/lpe-recursiveskeleton.h index 099b030d44504c19e8be2af2df4e6fcecb80f090..42040e668f07ab4e9bc8291a36fb71ce92a5c8a1 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 f8454e1eae859fc1d04a21a00e9c4baefd1714c3..ab1bf098cf28fa885e7f71a0b0366ca4ce1d94fd 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 bab06022f2a729f4cf774c75c950d701f9409651..aebc0e313956ad727d652fcf5dc95cc666497c26 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 8c5c83cebeaccb3ed9414ce5deda61cf85111fdf..64c6bf40e62855aa22cbc16ab7f6feb13b04976f 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 583be9e61bceb29ee2dbf4863306a59e66a008ba..7efa799f3b495baa2e267323f823ab208773d8e7 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 6c407f572c4686d36375428a68190da20bd024b2..c206e45e86185bf6a86cc81ebf01ade2bd4851e6 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 e633ba5abf846353e2b2c639981199342b4aac0c..51d96777f8747eea1886a8d54b14dd257c81121d 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 3bef0cf5e51a5c77228c2ca62d76bc70877331f9..5d178269e5a07a251ca101fa949835353043ada5 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 > computePerturbation (double s0, double s1); diff --git a/src/live_effects/lpe-spiro.h b/src/live_effects/lpe-spiro.h index c8aba53d928580dff4890bcd5e88f4d9c6335240..14a026da460bae72d6e42dd750978af3239ca80a 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 a6a3c17ca78143fc6cb8d7fde5d280967ce550fd..5761a3cd7f897650ae4b1ec25be9e81fd87e4cf2 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 e3ecbb56cea73d640c23c2343448384fe55bf59f..9e3de772c73b9996b9c764c6a8feb5aacf4eacf9 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 208a345c641656d936a54d28f1c7de0ff6e701c9..52577407567ea2100bd78cb945553f307793ad6e 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 58db5ece9ea45ea054457af944f33eb811053689..aef50a79a6cc4e9793875fabd2e1bec8a04391af 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 0f88e6b0095aa9bff69b61b2e65f4ef8338d4322..632cae51da7c1898b2ddf8f1e8afc32cf56347b2 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 c0cb7ce42390c2b3933e742703c8119b3a0d8351..e762030d7e9e8a38682f14a7c05252f83065299b 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 1aa0e3c4a0744f2196ee620f9751b6bb25a0f13a..2437c97c757a00bab4d518a08fbcd44679468bdb 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 84ae2f6d59be476dfc35022121365c85c2312bca..34b11284fc09928d7cc2ab1cd9fe9b0e643b35ea 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 82eaa6d433bc89e5abbfba418ddb36b80c3bfc18..eef176591b2ab8cf4c1bc595f38552f6ef039e07 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 e2d0e1bb2a1847c29928054a0091d19f8fc4e105..f028492a75b835be31ab27ff41568ffb52d82f0d 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 b41c6c93c1e840a2507194cb7772479ded14b22f..e6df8ceea21e90c27028f7b7088f0a03927c09b2 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 597e7ba51cbc4b6c13efbbe2cbff79a74a603961..603453ec57a2195e7a491ba62efb7bfac0bb54cc 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 d32098db5ab0545a9e5abce0ffeba012a8bd7c3f..7ccfc6a9f4f2612f0d03b099f1f198948df099e3 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 fd850a7675c0c5af1bd241dcdab7db6b0ccadc90..255f4b01624f8c684053e4eae4af46b6ea2d5945 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 168728f8645ce1dcf04fe84afec53cdf76d40c13..23720c74aba47773fa05d200ac18694c7d7c9e94 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 ec80d10260daaeab29a2f6fdb955e4df8e74fb51..6e9888d425ce1700c091058b0317efdb1a452827 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 8c972fd96c130fd41bf95a38377f7cea7b6ef1d4..36d5b78a6ddb0451f15dec1f6bba2fd560c82329 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 aa4212f151182a32fd1c955865ebad58f17a8519..33d91d4df0850fdd5ac497eaf89a56622cf53b9c 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 c32d063f6a143321639089914daf482b02dedf79..ccd94dd1dc9f4553ef6ad732d72f44742ae359ad 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 635056772de87f8bc9432a75a521e11ad05b11d7..998874980d4179b1ad31c8a45e3f2acc31d47e77 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 ea01101005d81387c978a17ef205e5cd9c88c065..9d4164c9b0f7633c590c0368ef473cd7a856fec6 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 a1d4db3ca7d0fa9441233f651848b656ccd0d63e..d028d706d6ce2367c89cec7c9cbb47e5520ba50e 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 a2c3712a1f225d705afc402c3b008c1902de3428..9f0114ad219e8adb4c9ee75063ccebf4d227abac 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 3039eb4322e662f36d07aa98364bad56111e208e..e7d61af2214d6bd25346fd347e1a5a2252fa9b60 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 a9de26a525f96c538d4102ca687162a739b05daa..51651edcfbff75e323347648dcdc1287a08c01e2 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 c5f8a3c28230229ff4f41c6977c8cfd493eb6d87..6d42c51552e1be2d24b991134fa8d49c7d666c08 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 8b92d81bad223045913200659010127c101f6273..b2d3203ac8231818514e19e1c8e0c1ae611f52ea 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 86e1a24b39587ed96e0a1e9698ed2a82811edabe..8e3e3cb699a5c863588bd9d3fb1fa3cda0a74e00 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 8c842e8050656fc4ef7bafc98f1fc9f866ff38c1..412d4f0bba2c1d7f9e81a1f5844f8bd2bdb19f04 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 6182a5dcd1422eaa2834db28e455c4f6a2c48164..b6b1c8da8b4f3e15492a723cd30ece93de4b3d0f 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; }; diff --git a/src/message-stack.h b/src/message-stack.h index ed0315cf5849863a563a8778a0600ae1cce7dc57..a8cbf08df5fdf513ab923cefffca83b38014e8d3 100644 --- a/src/message-stack.h +++ b/src/message-stack.h @@ -164,8 +164,8 @@ private: guint timeout_id; }; - MessageStack(MessageStack const &); // no copy - void operator=(MessageStack const &); // no assign + MessageStack(MessageStack const &) = delete; // no copy + void operator=(MessageStack const &) = delete; // no assign /// pushes a message onto the stack with an optional timeout MessageId _push(MessageType type, unsigned int lifetime, char const *message); diff --git a/src/object/sp-conn-end.h b/src/object/sp-conn-end.h index 2b89a159dd506e7c8aad3916026c62ed98f8e551..46f9e36fa0f87669eefcba629a5f0c44c2cf35a1 100644 --- a/src/object/sp-conn-end.h +++ b/src/object/sp-conn-end.h @@ -33,8 +33,8 @@ public: private: - SPConnEnd(SPConnEnd const &); // no copy - SPConnEnd &operator=(SPConnEnd const &); // no assign + SPConnEnd(SPConnEnd const &) = delete; // no copy + SPConnEnd &operator=(SPConnEnd const &) = delete; // no assign }; void sp_conn_end_href_changed(SPObject *old_ref, SPObject *ref, diff --git a/src/object/uri-references.h b/src/object/uri-references.h index 4c57709a0736c4410f56df1e891933e3420946f2..a820ba4fbacb16f909ccc334541617ec1e356149 100644 --- a/src/object/uri-references.h +++ b/src/object/uri-references.h @@ -138,7 +138,7 @@ private: void _setObject(SPObject *object); void _release(SPObject *object); - void operator=(URIReference const& ref); + void operator=(URIReference const& ref) = delete; /* Private and definition-less to prevent accidental use. */ }; diff --git a/src/preferences.h b/src/preferences.h index 2a9818c6386aa99eff6766ed65899bf05cae3e43..88fdd864c0ff5d19690ce59ec8f59dd9bad2bb3f 100644 --- a/src/preferences.h +++ b/src/preferences.h @@ -541,8 +541,8 @@ private: XML::Node *_findObserverNode(Glib::ustring const &pref_path, Glib::ustring &node_key, Glib::ustring &attr_key, bool create); // disable copying - Preferences(Preferences const &); - Preferences operator=(Preferences const &); + Preferences(Preferences const &) = delete; + Preferences operator=(Preferences const &) = delete; std::string _prefs_filename; ///< Full filename (with directory) of the prefs file Glib::ustring _lastErrPrimary; ///< Last primary error message, if any. diff --git a/src/profile-manager.h b/src/profile-manager.h index 54cd4a1dafcf9d8e90b8a8f014755f87c6e38578..dee21f018e14717f0290e97f1d6146d96a612ec0 100644 --- a/src/profile-manager.h +++ b/src/profile-manager.h @@ -30,8 +30,8 @@ public: ColorProfile* find(char const* name); private: - ProfileManager(ProfileManager const &); // no copy - void operator=(ProfileManager const &); // no assign + ProfileManager(ProfileManager const &) = delete; // no copy + void operator=(ProfileManager const &) = delete; // no assign void _resourcesChanged(); diff --git a/src/resource-manager.h b/src/resource-manager.h index 8f01c23a000bbc00616df9878d39dea5da9ecd5b..9452c5d69804755a196afd7702fe1915a3663da3 100644 --- a/src/resource-manager.h +++ b/src/resource-manager.h @@ -27,8 +27,8 @@ protected: virtual ~ResourceManager(); private: - ResourceManager(ResourceManager const &); // no copy - void operator=(ResourceManager const &); // no assign + ResourceManager(ResourceManager const &) = delete; // no copy + void operator=(ResourceManager const &) = delete; // no assign }; diff --git a/src/selection.h b/src/selection.h index 989adf6b0efd2bbc9e7dd76ac82c9b7461cfb148..dc43dcf4f6eeb9442086225ff4aa682f8f1d51fa 100644 --- a/src/selection.h +++ b/src/selection.h @@ -207,9 +207,9 @@ protected: private: /** no copy. */ - Selection(Selection const &); + Selection(Selection const &) = delete; /** no assign. */ - void operator=(Selection const &); + void operator=(Selection const &) = delete; /** Issues modification notification signals. */ static int _emit_modified(Selection *selection); diff --git a/src/ui/clipboard.h b/src/ui/clipboard.h index e32b5aed26619e916bebf4374c56d78f00426837..a05c6c00544ed501bd3374c7477f528abc260922 100644 --- a/src/ui/clipboard.h +++ b/src/ui/clipboard.h @@ -59,8 +59,8 @@ protected: ClipboardManager(); // singleton virtual ~ClipboardManager(); private: - ClipboardManager(const ClipboardManager &); ///< no copy - ClipboardManager &operator=(const ClipboardManager &); ///< no assign + ClipboardManager(const ClipboardManager &) = delete; ///< no copy + ClipboardManager &operator=(const ClipboardManager &) = delete; ///< no assign static ClipboardManager *_instance; }; diff --git a/src/ui/dialog/align-and-distribute.h b/src/ui/dialog/align-and-distribute.h index ce45fcccdf290728aafca7c9b0a56e7ee8d0e912..34d0230bf998d00752f81cd142ff9261e0b9828d 100644 --- a/src/ui/dialog/align-and-distribute.h +++ b/src/ui/dialog/align-and-distribute.h @@ -118,8 +118,8 @@ protected: sigc::connection _toolChangeConn; sigc::connection _selChangeConn; private: - AlignAndDistribute(AlignAndDistribute const &d); - AlignAndDistribute& operator=(AlignAndDistribute const &d); + AlignAndDistribute(AlignAndDistribute const &d) = delete; + AlignAndDistribute& operator=(AlignAndDistribute const &d) = delete; }; diff --git a/src/ui/dialog/behavior.h b/src/ui/dialog/behavior.h index 5d5519a0307504443b8ce8e0a780c9f72e365fd4..fbe47c6356cc5260d83169ad57be84c7feccede7 100644 --- a/src/ui/dialog/behavior.h +++ b/src/ui/dialog/behavior.h @@ -78,9 +78,9 @@ protected: Dialog& _dialog; //< reference to the owner private: - Behavior(); // no constructor without params - Behavior(const Behavior &); // no copy - Behavior &operator=(const Behavior &); // no assign + Behavior() = delete; // no constructor without params + Behavior(const Behavior &) = delete; // no copy + Behavior &operator=(const Behavior &) = delete; // no assign }; } // namespace Behavior diff --git a/src/ui/dialog/calligraphic-profile-rename.h b/src/ui/dialog/calligraphic-profile-rename.h index b7a97a1e71544269111e0444588e0cbf5eb67a05..c70e8ae9871d2b374d829be467a857672afdf91f 100644 --- a/src/ui/dialog/calligraphic-profile-rename.h +++ b/src/ui/dialog/calligraphic-profile-rename.h @@ -68,8 +68,8 @@ private: static CalligraphicProfileRename instance_; return instance_; } - CalligraphicProfileRename(CalligraphicProfileRename const &); // no copy - CalligraphicProfileRename &operator=(CalligraphicProfileRename const &); // no assign + CalligraphicProfileRename(CalligraphicProfileRename const &) = delete; // no copy + CalligraphicProfileRename &operator=(CalligraphicProfileRename const &) = delete; // no assign }; } // namespace Dialog diff --git a/src/ui/dialog/clonetiler.h b/src/ui/dialog/clonetiler.h index f42ef8fbe7df49859b7d7df4eb4be798b60ea2a8..4fd8f95cf56c1420c409d5b7e3ee763ecba12ea9 100644 --- a/src/ui/dialog/clonetiler.h +++ b/src/ui/dialog/clonetiler.h @@ -143,8 +143,8 @@ protected: private: - CloneTiler(CloneTiler const &d); - CloneTiler& operator=(CloneTiler const &d); + CloneTiler(CloneTiler const &d) = delete; + CloneTiler& operator=(CloneTiler const &d) = delete; Gtk::CheckButton *_b; Gtk::CheckButton *_cb_keep_bbox; diff --git a/src/ui/dialog/dialog.h b/src/ui/dialog/dialog.h index 9c7efd47bef076fe67cf349d6bd02958dc5c3f63..2bde4459b92250b36bc8d87a45468b72286c89dd 100644 --- a/src/ui/dialog/dialog.h +++ b/src/ui/dialog/dialog.h @@ -147,10 +147,10 @@ protected: private: Behavior::Behavior* _behavior; - Dialog(); // no constructor without params + Dialog() = delete; // no constructor without params - Dialog(Dialog const &d); // no copy - Dialog& operator=(Dialog const &d); // no assign + Dialog(Dialog const &d) = delete; // no copy + Dialog& operator=(Dialog const &d) = delete; // no assign friend class Behavior::FloatingBehavior; friend class Behavior::DockBehavior; diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp index 380c8a9c4fa5274ff54d99fd252dd6ee4d570a5f..ab5fe06fdc8d5802120c7103e87ea573fa9530d1 100644 --- a/src/ui/dialog/export.cpp +++ b/src/ui/dialog/export.cpp @@ -97,8 +97,8 @@ public: } private: - MessageCleaner(MessageCleaner const &other); - MessageCleaner &operator=(MessageCleaner const &other); + MessageCleaner(MessageCleaner const &other) = delete; + MessageCleaner &operator=(MessageCleaner const &other) = delete; SPDesktop *_desktop; Inkscape::MessageId _messageId; diff --git a/src/ui/dialog/extensions.h b/src/ui/dialog/extensions.h index 73876bccc7fce01ca242aae6917c3586e55071d8..b5b025faed02760150862928bbbca556f9172c54 100644 --- a/src/ui/dialog/extensions.h +++ b/src/ui/dialog/extensions.h @@ -38,8 +38,8 @@ public: void set_full(bool full); private: - ExtensionsPanel(ExtensionsPanel const &); // no copy - ExtensionsPanel &operator=(ExtensionsPanel const &); // no assign + ExtensionsPanel(ExtensionsPanel const &) = delete; // no copy + ExtensionsPanel &operator=(ExtensionsPanel const &) = delete; // no assign static void listCB(Inkscape::Extension::Extension *in_plug, gpointer in_data); diff --git a/src/ui/dialog/fill-and-stroke.h b/src/ui/dialog/fill-and-stroke.h index 67e9d60ed4847cc621cf4e7c3ea3c627f4e5d421..ad59443ad2c32142073685a45bfd315223d3c61b 100644 --- a/src/ui/dialog/fill-and-stroke.h +++ b/src/ui/dialog/fill-and-stroke.h @@ -67,8 +67,8 @@ protected: void _onSwitchPage(Gtk::Widget *page, guint pagenum); private: - FillAndStroke(FillAndStroke const &d); - FillAndStroke& operator=(FillAndStroke const &d); + FillAndStroke(FillAndStroke const &d) = delete; + FillAndStroke& operator=(FillAndStroke const &d) = delete; void setTargetDesktop(SPDesktop *desktop); diff --git a/src/ui/dialog/find.h b/src/ui/dialog/find.h index 94d635037bced9780b9f1f7fdeb318fcfb3d949f..2b4869def36c20ac8f2e5c02cc571c3202fc3535 100644 --- a/src/ui/dialog/find.h +++ b/src/ui/dialog/find.h @@ -199,8 +199,8 @@ protected: void onSelectionChange(void); private: - Find(Find const &d); - Find& operator=(Find const &d); + Find(Find const &d) = delete; + Find& operator=(Find const &d) = delete; /* * Find and replace combo box widgets diff --git a/src/ui/dialog/font-substitution.h b/src/ui/dialog/font-substitution.h index 0818d778c6647e0c7e7586265f5359db9c992d7e..3d42c01f2eb61b31097c494328f5970c80cc38db 100644 --- a/src/ui/dialog/font-substitution.h +++ b/src/ui/dialog/font-substitution.h @@ -35,8 +35,8 @@ protected: std::vector getFontReplacedItems(SPDocument* doc, Glib::ustring *out); private: - FontSubstitution(FontSubstitution const &d); - FontSubstitution& operator=(FontSubstitution const &d); + FontSubstitution(FontSubstitution const &d) = delete; + FontSubstitution& operator=(FontSubstitution const &d) = delete; }; } // namespace Dialog diff --git a/src/ui/dialog/glyphs.h b/src/ui/dialog/glyphs.h index 818d388118343cd14eb26ad2f8342bf5ac008e72..d9eb30c7c55b6bc2dc8c72b13814ad86c4c4519d 100644 --- a/src/ui/dialog/glyphs.h +++ b/src/ui/dialog/glyphs.h @@ -47,8 +47,8 @@ public: protected: private: - GlyphsPanel(GlyphsPanel const &); // no copy - GlyphsPanel &operator=(GlyphsPanel const &); // no assign + GlyphsPanel(GlyphsPanel const &) = delete; // no copy + GlyphsPanel &operator=(GlyphsPanel const &) = delete; // no assign static GlyphColumns *getColumns(); diff --git a/src/ui/dialog/grid-arrange-tab.h b/src/ui/dialog/grid-arrange-tab.h index 93bc38218003842aa61770e2b0f064e8844e2484..cba2af1b4086d61106c0e56cf3474b720d9e4ad6 100644 --- a/src/ui/dialog/grid-arrange-tab.h +++ b/src/ui/dialog/grid-arrange-tab.h @@ -65,8 +65,8 @@ public: private: - GridArrangeTab(GridArrangeTab const &d); // no copy - void operator=(GridArrangeTab const &d); // no assign + GridArrangeTab(GridArrangeTab const &d) = delete; // no copy + void operator=(GridArrangeTab const &d) = delete; // no assign ArrangeDialog *Parent; diff --git a/src/ui/dialog/guides.h b/src/ui/dialog/guides.h index 25d32015c3ea5ff8ce0f832aa3cedca05cee9f60..fd3fbd74fe336f21302afccb8c7e6a39aab551c0 100644 --- a/src/ui/dialog/guides.h +++ b/src/ui/dialog/guides.h @@ -60,8 +60,8 @@ protected: void _modeChanged(); private: - GuidelinePropertiesDialog(GuidelinePropertiesDialog const &); // no copy - GuidelinePropertiesDialog &operator=(GuidelinePropertiesDialog const &); // no assign + GuidelinePropertiesDialog(GuidelinePropertiesDialog const &) = delete; // no copy + GuidelinePropertiesDialog &operator=(GuidelinePropertiesDialog const &) = delete; // no assign SPDesktop *_desktop; SPGuide *_guide; diff --git a/src/ui/dialog/icon-preview.h b/src/ui/dialog/icon-preview.h index caec7e3b59ba74cd1a75c1fa4434f0dce693a513..2ad7e68b40362de6404b5e35023e5bd2ef8e922d 100644 --- a/src/ui/dialog/icon-preview.h +++ b/src/ui/dialog/icon-preview.h @@ -53,8 +53,8 @@ public: void modeToggled(); private: - IconPreviewPanel(IconPreviewPanel const &); // no copy - IconPreviewPanel &operator=(IconPreviewPanel const &); // no assign + IconPreviewPanel(IconPreviewPanel const &) = delete; // no copy + IconPreviewPanel &operator=(IconPreviewPanel const &) = delete; // no assign DesktopTracker deskTrack; diff --git a/src/ui/dialog/layer-properties.h b/src/ui/dialog/layer-properties.h index f62f2278278b6be6c57194154c075ea406c011f0..756f7a509eb891d08c41ca87a3b82394c08821eb 100644 --- a/src/ui/dialog/layer-properties.h +++ b/src/ui/dialog/layer-properties.h @@ -157,8 +157,8 @@ protected: void _handleButtonEvent(GdkEventButton* event); private: - LayerPropertiesDialog(LayerPropertiesDialog const &); // no copy - LayerPropertiesDialog &operator=(LayerPropertiesDialog const &); // no assign + LayerPropertiesDialog(LayerPropertiesDialog const &) = delete; // no copy + LayerPropertiesDialog &operator=(LayerPropertiesDialog const &) = delete; // no assign }; } // namespace diff --git a/src/ui/dialog/layers.h b/src/ui/dialog/layers.h index 3a580caf958734cd21eadcd4b943094f054f2199..c2058ad48d9f3bb6f29d8361d05ee6e808c5ed4f 100644 --- a/src/ui/dialog/layers.h +++ b/src/ui/dialog/layers.h @@ -53,8 +53,8 @@ private: class ModelColumns; class InternalUIBounce; - LayersPanel(LayersPanel const &); // no copy - LayersPanel &operator=(LayersPanel const &); // no assign + LayersPanel(LayersPanel const &) = delete; // no copy + LayersPanel &operator=(LayersPanel const &) = delete; // no assign void _styleButton( Gtk::Button& btn, SPDesktop *desktop, unsigned int code, char const* iconName, char const* fallback ); void _fireAction( unsigned int code ); diff --git a/src/ui/dialog/livepatheffect-add.h b/src/ui/dialog/livepatheffect-add.h index c686e8365684a0c47b2054e2c6021b167401d859..90457c9175f384a86356812e3ff30e81287274ad 100644 --- a/src/ui/dialog/livepatheffect-add.h +++ b/src/ui/dialog/livepatheffect-add.h @@ -106,8 +106,8 @@ private: static LivePathEffectAdd instance_; return instance_; } - LivePathEffectAdd(LivePathEffectAdd const &); // no copy - LivePathEffectAdd &operator=(LivePathEffectAdd const &); // no assign + LivePathEffectAdd(LivePathEffectAdd const &) = delete; // no copy + LivePathEffectAdd &operator=(LivePathEffectAdd const &) = delete; // no assign }; } // namespace Dialog diff --git a/src/ui/dialog/memory.h b/src/ui/dialog/memory.h index 792391b8973cdc4377d8e460d83db279133ef65d..5ba93977d65c89934330acbcd0e51ac71b1d0259 100644 --- a/src/ui/dialog/memory.h +++ b/src/ui/dialog/memory.h @@ -28,8 +28,8 @@ protected: void _apply(); private: - Memory(Memory const &d); // no copy - void operator=(Memory const &d); // no assign + Memory(Memory const &d) = delete; // no copy + void operator=(Memory const &d) = delete; // no assign struct Private; Private &_private; diff --git a/src/ui/dialog/messages.h b/src/ui/dialog/messages.h index 6ed246ece2a5367983de4905933eddd2c7ad0f79..ca2d5dc4eacc6c9b84002cf1ee3d9e787cefe280 100644 --- a/src/ui/dialog/messages.h +++ b/src/ui/dialog/messages.h @@ -79,8 +79,8 @@ protected: guint handlerGtkmm; private: - Messages(Messages const &d); - Messages operator=(Messages const &d); + Messages(Messages const &d) = delete; + Messages operator=(Messages const &d) = delete; }; diff --git a/src/ui/dialog/panel-dialog.h b/src/ui/dialog/panel-dialog.h index 60885d81d9eddd3269635cc1d969c607b4323e0d..97bb25154287aa0cb459afd8987a55ebc6b10fec 100644 --- a/src/ui/dialog/panel-dialog.h +++ b/src/ui/dialog/panel-dialog.h @@ -87,9 +87,9 @@ public: private: inline void _presentDialog(); - PanelDialog(); - PanelDialog(PanelDialog const &d); // no copy - PanelDialog& operator=(PanelDialog const &d); // no assign + PanelDialog() = delete; + PanelDialog(PanelDialog const &d) = delete; // no copy + PanelDialog& operator=(PanelDialog const &d) = delete; // no assign }; @@ -108,10 +108,10 @@ public: inline virtual void present(); private: - PanelDialog(); - PanelDialog(PanelDialog const &d); // no copy + PanelDialog() = delete; + PanelDialog(PanelDialog const &d) = delete; // no copy PanelDialog& - operator=(PanelDialog const &d); // no assign + operator=(PanelDialog const &d) = delete; // no assign }; diff --git a/src/ui/dialog/polar-arrange-tab.h b/src/ui/dialog/polar-arrange-tab.h index 1a4e04eda1ace434e4716b97baba3696260b7b8c..6381f42bc4faa242ee097d0be544574f633f028b 100644 --- a/src/ui/dialog/polar-arrange-tab.h +++ b/src/ui/dialog/polar-arrange-tab.h @@ -51,8 +51,8 @@ public: void on_arrange_radio_changed(); private: - PolarArrangeTab(PolarArrangeTab const &d); // no copy - void operator=(PolarArrangeTab const &d); // no assign + PolarArrangeTab(PolarArrangeTab const &d) = delete; // no copy + void operator=(PolarArrangeTab const &d) = delete; // no assign ArrangeDialog *parent; diff --git a/src/ui/dialog/prototype.h b/src/ui/dialog/prototype.h index 95c3856f8de24a99097858cda071ce5dcfdd8611..3494d8594b83c038bd74f3d82751ff14f3a9f22b 100644 --- a/src/ui/dialog/prototype.h +++ b/src/ui/dialog/prototype.h @@ -43,8 +43,8 @@ private: // No default constructor, noncopyable, nonassignable Prototype(); - Prototype(Prototype const &d); - Prototype operator=(Prototype const &d); + Prototype(Prototype const &d) = delete; + Prototype operator=(Prototype const &d) = delete; // Signals and handlers sigc::connection connectionDocumentReplaced; diff --git a/src/ui/dialog/styledialog.h b/src/ui/dialog/styledialog.h index 03932e3cc6daaed0e084fe131c98fa2b5fec3caa..39e3edfd7cec5d25fb9db8b6fd7e991bdf963410 100644 --- a/src/ui/dialog/styledialog.h +++ b/src/ui/dialog/styledialog.h @@ -52,8 +52,8 @@ public: private: // No default constructor, noncopyable, nonassignable StyleDialog(); - StyleDialog(StyleDialog const &d); - StyleDialog operator=(StyleDialog const &d); + StyleDialog(StyleDialog const &d) = delete; + StyleDialog operator=(StyleDialog const &d) = delete; // Monitor