diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-20 16:10:17 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-20 16:10:17 +1000 |
commit | cd65e0b6478f38b809dd08805e7795a9d8b669eb (patch) | |
tree | 22400d8bc12111e14f9597d0cc3fddc02ca1552f /src | |
parent | 8358208fe8b26366b7777b2bb4e925d7f4268836 (diff) | |
download | scintilla-mirror-cd65e0b6478f38b809dd08805e7795a9d8b669eb.tar.gz |
More consistent deletion of standard methods.
Diffstat (limited to 'src')
-rw-r--r-- | src/EditView.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h index 9eb3146dd..d884019d4 100644 --- a/src/EditView.h +++ b/src/EditView.h @@ -154,9 +154,10 @@ public: class AutoLineLayout { LineLayoutCache &llc; LineLayout *ll; - AutoLineLayout &operator=(const AutoLineLayout &); public: AutoLineLayout(LineLayoutCache &llc_, LineLayout *ll_) : llc(llc_), ll(ll_) {} + explicit AutoLineLayout(const AutoLineLayout &) = delete; + AutoLineLayout &operator=(const AutoLineLayout &) = delete; ~AutoLineLayout() { llc.Dispose(ll); ll = 0; |