diff options
author | Neil <nyamatongwe@gmail.com> | 2013-12-15 12:49:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-12-15 12:49:06 +1100 |
commit | b4c46f78da230ff3077bc2b96ac66f5ac017c7a2 (patch) | |
tree | 3a06d1dc7b2deb5e25d5e148666f086fb0864ff4 /lexlib/LexerSimple.h | |
parent | 982a9be5d39fb042e1deb86af5930cb54729f83f (diff) | |
download | scintilla-mirror-b4c46f78da230ff3077bc2b96ac66f5ac017c7a2.tar.gz |
Make single argument constructors explicit to avoid unexpected conversions.
Diffstat (limited to 'lexlib/LexerSimple.h')
-rw-r--r-- | lexlib/LexerSimple.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexerSimple.h b/lexlib/LexerSimple.h index 89631936f..e9fa9003f 100644 --- a/lexlib/LexerSimple.h +++ b/lexlib/LexerSimple.h @@ -17,7 +17,7 @@ class LexerSimple : public LexerBase { const LexerModule *module; std::string wordLists; public: - LexerSimple(const LexerModule *module_); + explicit LexerSimple(const LexerModule *module_); const char * SCI_METHOD DescribeWordListSets(); void SCI_METHOD Lex(unsigned int startPos, int lengthDoc, int initStyle, IDocument *pAccess); void SCI_METHOD Fold(unsigned int startPos, int lengthDoc, int initStyle, IDocument *pAccess); |