diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-21 09:30:16 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-21 09:30:16 +1000 |
commit | 261277783fa16e0c974b1981a5eb0a208fca955e (patch) | |
tree | f9a75c9fd718ef57994b775e6d653983e5634085 /src/SplitVector.h | |
parent | cd65e0b6478f38b809dd08805e7795a9d8b669eb (diff) | |
download | scintilla-mirror-261277783fa16e0c974b1981a5eb0a208fca955e.tar.gz |
More consistent deletion of standard methods.
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r-- | src/SplitVector.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SplitVector.h b/src/SplitVector.h index 1601bfaa6..e6a7701bb 100644 --- a/src/SplitVector.h +++ b/src/SplitVector.h @@ -70,6 +70,10 @@ public: Init(); } + // Deleted so SplitVector objects can not be copied. + SplitVector(const SplitVector &) = delete; + void operator=(const SplitVector &) = delete; + ~SplitVector() { delete []body; body = 0; |