diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2017-06-22 15:19:02 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2017-06-22 15:19:02 +1000 |
commit | ba1197944de6599dd02583455957be8ca9412eec (patch) | |
tree | 25a549ed8cbfd8f0815fb05554351517be4d9a92 /lexlib/LexerBase.h | |
parent | 90af4f5e13db0f262a5637c6017f16475605c677 (diff) | |
download | scintilla-mirror-ba1197944de6599dd02583455957be8ca9412eec.tar.gz |
Backport: Make all methods override, even pure ones to keep Clang happy.
Backport of changeset 6325:9673a4d4c0e7.
Diffstat (limited to 'lexlib/LexerBase.h')
-rw-r--r-- | lexlib/LexerBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexlib/LexerBase.h b/lexlib/LexerBase.h index 53d2f9f1d..ddc561c5c 100644 --- a/lexlib/LexerBase.h +++ b/lexlib/LexerBase.h @@ -29,8 +29,8 @@ public: Sci_Position SCI_METHOD PropertySet(const char *key, const char *val) override; const char * SCI_METHOD DescribeWordListSets() override; Sci_Position SCI_METHOD WordListSet(int n, const char *wl) override; - void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) = 0; - void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) = 0; + void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override = 0; + void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override = 0; void * SCI_METHOD PrivateCall(int operation, void *pointer) override; }; |