aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/StyleContext.h4
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))) {