diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-28 10:31:25 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-28 10:31:25 +1000 |
commit | 9472b43539e7b4a6a3f5e657b0ec06e9e6e5eab9 (patch) | |
tree | 2486c7953942f70d46f805c5a809165c98424500 /src/Editor.h | |
parent | 3173850f9261c9af83c91e92450879b233565670 (diff) | |
download | scintilla-mirror-9472b43539e7b4a6a3f5e657b0ec06e9e6e5eab9.tar.gz |
Delete standard functions on classes where there could be attempts to copy.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 9fda8ddea..33dae2f67 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -256,8 +256,10 @@ protected: // ScintillaBase subclass needs access to much of Editor Editor(); // Deleted so Editor objects can not be copied. - explicit Editor(const Editor &) = delete; + Editor(const Editor &) = delete; + Editor(Editor &&) = delete; Editor &operator=(const Editor &) = delete; + Editor &operator=(Editor &&) = delete; ~Editor() override; virtual void Initialise() = 0; virtual void Finalise(); |