diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:24:48 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:24:48 +0000 |
| commit | 5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb (patch) | |
| tree | ab03ddc2f4ac91690f2003d7b7075d7d9e230e1d /src/ui/widget | |
| parent | Merge branch 'transl_fr' of gitlab.com:gadic/inkscape (diff) | |
| parent | Run clang-tidy’s modernize-use-equals-delete pass. (diff) | |
| download | inkscape-5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb.tar.gz inkscape-5f4e9e22f0d31216b16b31c860ca6b5a66ab91cb.zip | |
Merge branch 'clang-tidy-delete-pass' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/ui/widget')
| -rw-r--r-- | src/ui/widget/color-notebook.h | 4 | ||||
| -rw-r--r-- | src/ui/widget/color-scales.h | 4 | ||||
| -rw-r--r-- | src/ui/widget/color-wheel-selector.h | 4 | ||||
| -rw-r--r-- | src/ui/widget/dock-item.h | 2 | ||||
| -rw-r--r-- | src/ui/widget/spinbutton.h | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/widget/color-notebook.h b/src/ui/widget/color-notebook.h index 0948e3d46..7c43435d3 100644 --- a/src/ui/widget/color-notebook.h +++ b/src/ui/widget/color-notebook.h @@ -70,8 +70,8 @@ protected: private: // By default, disallow copy constructor and assignment operator - ColorNotebook(const ColorNotebook &obj); - ColorNotebook &operator=(const ColorNotebook &obj); + ColorNotebook(const ColorNotebook &obj) = delete; + ColorNotebook &operator=(const ColorNotebook &obj) = delete; }; } } diff --git a/src/ui/widget/color-scales.h b/src/ui/widget/color-scales.h index 1fc465418..5d681cdfb 100644 --- a/src/ui/widget/color-scales.h +++ b/src/ui/widget/color-scales.h @@ -71,8 +71,8 @@ protected: private: // By default, disallow copy constructor and assignment operator - ColorScales(ColorScales const &obj); - ColorScales &operator=(ColorScales const &obj); + ColorScales(ColorScales const &obj) = delete; + ColorScales &operator=(ColorScales const &obj) = delete; }; class ColorScalesFactory : public Inkscape::UI::ColorSelectorFactory diff --git a/src/ui/widget/color-wheel-selector.h b/src/ui/widget/color-wheel-selector.h index ee7bd9b83..db9f7746b 100644 --- a/src/ui/widget/color-wheel-selector.h +++ b/src/ui/widget/color-wheel-selector.h @@ -59,8 +59,8 @@ protected: private: // By default, disallow copy constructor and assignment operator - ColorWheelSelector(const ColorWheelSelector &obj); - ColorWheelSelector &operator=(const ColorWheelSelector &obj); + ColorWheelSelector(const ColorWheelSelector &obj) = delete; + ColorWheelSelector &operator=(const ColorWheelSelector &obj) = delete; sigc::connection _color_changed_connection; sigc::connection _color_dragged_connection; diff --git a/src/ui/widget/dock-item.h b/src/ui/widget/dock-item.h index 31cdcf080..2b69fab45 100644 --- a/src/ui/widget/dock-item.h +++ b/src/ui/widget/dock-item.h @@ -141,7 +141,7 @@ private: sigc::signal<void, State, State> _signal_state_changed; - DockItem(); + DockItem() = delete; }; } // namespace Widget diff --git a/src/ui/widget/spinbutton.h b/src/ui/widget/spinbutton.h index ae571994b..9c015a3b2 100644 --- a/src/ui/widget/spinbutton.h +++ b/src/ui/widget/spinbutton.h @@ -89,8 +89,8 @@ protected: private: // noncopyable - SpinButton(const SpinButton&); - SpinButton& operator=(const SpinButton&); + SpinButton(const SpinButton&) = delete; + SpinButton& operator=(const SpinButton&) = delete; }; } // namespace Widget |
