aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-28 10:31:25 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-28 10:31:25 +1000
commit06220b1501744c5cebc861e6e6e06449814b1d60 (patch)
tree2580e78f4473f8f3b756462484fc5506a581dd15 /gtk
parent774bb684b2afbf1637f7fa29e13fd901d15681d6 (diff)
downloadscintilla-mirror-06220b1501744c5cebc861e6e6e06449814b1d60.tar.gz
Backport: Delete standard functions on classes where there could be attempts to copy.
Backport of changeset 6756:29866b0927e0.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/ScintillaGTK.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h
index 8a72b4002..5e510257e 100644
--- a/gtk/ScintillaGTK.h
+++ b/gtk/ScintillaGTK.h
@@ -74,7 +74,9 @@ public:
explicit ScintillaGTK(_ScintillaObject *sci_);
// Deleted so ScintillaGTK objects can not be copied.
ScintillaGTK(const ScintillaGTK &) = delete;
+ ScintillaGTK(ScintillaGTK &&) = delete;
ScintillaGTK &operator=(const ScintillaGTK &) = delete;
+ ScintillaGTK &operator=(ScintillaGTK &&) = delete;
virtual ~ScintillaGTK();
static ScintillaGTK *FromWidget(GtkWidget *widget);
static void ClassInit(OBJECT_CLASS* object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class);