diff options
author | nyamatongwe <devnull@localhost> | 2010-01-19 02:25:05 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-01-19 02:25:05 +0000 |
commit | 5f8f134223b0e870ef6f71439edf40fe57c79031 (patch) | |
tree | ee055abd50bfb8b49c6e1149e33cdd79c8f49f6b /src | |
parent | c074b51e15845a103bfe572ef569717e2d841db7 (diff) | |
download | scintilla-mirror-5f8f134223b0e870ef6f71439edf40fe57c79031.tar.gz |
Avoid warning from cppchecker in bug #2903391.
Diffstat (limited to 'src')
-rw-r--r-- | src/StyleContext.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/StyleContext.h b/src/StyleContext.h index 463aab462..9342ebd68 100644 --- a/src/StyleContext.h +++ b/src/StyleContext.h @@ -16,9 +16,7 @@ namespace Scintilla { class StyleContext { Accessor &styler; unsigned int endPos; - StyleContext& operator=(const StyleContext&) { - return *this; - } + StyleContext& operator=(const StyleContext&); void GetNextChar(unsigned int pos) { chNext = static_cast<unsigned char>(styler.SafeGetCharAt(pos+1)); if (styler.IsLeadByte(static_cast<char>(chNext))) { |