diff options
author | nyamatongwe <unknown> | 2010-01-19 02:25:05 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-01-19 02:25:05 +0000 |
commit | 5cebda3d025f2274a53f49e4db2c37eb181721e4 (patch) | |
tree | ee055abd50bfb8b49c6e1149e33cdd79c8f49f6b | |
parent | eee04af7beba33780065f94384dadbedf398d5e8 (diff) | |
download | scintilla-mirror-5cebda3d025f2274a53f49e4db2c37eb181721e4.tar.gz |
Avoid warning from cppchecker in bug #2903391.
-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))) { |