diff options
author | nyamatongwe <unknown> | 2010-01-28 04:50:27 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-01-28 04:50:27 +0000 |
commit | ca44a024da3b95f46c3a8422b29314defd4ae64b (patch) | |
tree | 35d98352a6038f75dada3cd0620bd89eb35fb90d /src/Editor.cxx | |
parent | 205e394a6bf7f3e7636af0715103c28422d7a6aa (diff) | |
download | scintilla-mirror-ca44a024da3b95f46c3a8422b29314defd4ae64b.tar.gz |
Avoiding warnings from cppcheck. Mostly removing bodies of private copy
constructors and operator=.
Also ensuring initialisation for some fields, reducing scope where
possible, and passing by const reference.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index e1dcb38bc..8cfbbd6e4 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -336,7 +336,7 @@ const char *ControlCharacterString(unsigned char ch) { class AutoLineLayout { LineLayoutCache &llc; LineLayout *ll; - AutoLineLayout &operator=(const AutoLineLayout &) { return * this; } + AutoLineLayout &operator=(const AutoLineLayout &); public: AutoLineLayout(LineLayoutCache &llc_, LineLayout *ll_) : llc(llc_), ll(ll_) {} ~AutoLineLayout() { |