aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerSimple.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-12-15 12:49:06 +1100
committerNeil <nyamatongwe@gmail.com>2013-12-15 12:49:06 +1100
commit3d0a66fc8c15a74ae33a5d92b68c0b9adcd02920 (patch)
tree0eac4ed28358e0496be6a35f77891b308849b477 /lexlib/LexerSimple.h
parent7c020de8903c45bcc32795e28cc13a32285513f3 (diff)
downloadscintilla-mirror-3d0a66fc8c15a74ae33a5d92b68c0b9adcd02920.tar.gz
Make single argument constructors explicit to avoid unexpected conversions.
Diffstat (limited to 'lexlib/LexerSimple.h')
-rw-r--r--lexlib/LexerSimple.h2
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);