diff options
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/sp-color-selector.h | 4 | ||||
| -rw-r--r-- | src/widgets/toolbox.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/sp-color-selector.h b/src/widgets/sp-color-selector.h index 14a9fccdf..f5c194249 100644 --- a/src/widgets/sp-color-selector.h +++ b/src/widgets/sp-color-selector.h @@ -46,8 +46,8 @@ protected: private: // By default, disallow copy constructor and assignment operator - ColorSelector( const ColorSelector& obj ); - ColorSelector& operator=( const ColorSelector& obj ); + ColorSelector( const ColorSelector& obj ) = delete; + ColorSelector& operator=( const ColorSelector& obj ) = delete; gboolean _held; diff --git a/src/widgets/toolbox.h b/src/widgets/toolbox.h index ab1dcdfbd..a61130d33 100644 --- a/src/widgets/toolbox.h +++ b/src/widgets/toolbox.h @@ -63,7 +63,7 @@ public: static GtkIconSize prefToSize(Glib::ustring const &path, int base = 0 ); private: - ToolboxFactory(); + ToolboxFactory() = delete; }; /** |
