diff options
author | Neil <nyamatongwe@gmail.com> | 2021-10-26 08:15:24 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-10-26 08:15:24 +1100 |
commit | a27ff81c16f9a383ba9530aca1c4ecd16c79fee7 (patch) | |
tree | 252f409322ab5e670fc77644be971f450714a431 /src/Document.cxx | |
parent | f3a53bfcf5df26697289e01e041d39a659968ea2 (diff) | |
download | scintilla-mirror-a27ff81c16f9a383ba9530aca1c4ecd16c79fee7.tar.gz |
Explicit constructors.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index a4bee0a08..511d8ca3b 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2962,7 +2962,7 @@ public: typedef wchar_t* pointer; typedef wchar_t& reference; - UTF8Iterator(const Document *doc_=nullptr, Sci::Position position_=0) noexcept : + explicit UTF8Iterator(const Document *doc_=nullptr, Sci::Position position_=0) noexcept : doc(doc_), position(position_), characterIndex(0), lenBytes(0), lenCharacters(0), buffered{} { buffered[0] = 0; buffered[1] = 0; |