forked from qt-creator/qt-creator
Fix krazy issues: Use explicit constructors
* Fix all warnings about non-explicit constructors except for those in 3rdparty code.
This commit is contained in:
@@ -67,7 +67,7 @@ class NameId;
|
||||
class QML_PARSER_EXPORT Lexer
|
||||
{
|
||||
public:
|
||||
Lexer(Engine *eng, bool tokenizeComments = false);
|
||||
explicit Lexer(Engine *eng, bool tokenizeComments = false);
|
||||
~Lexer();
|
||||
|
||||
void setCode(const QString &c, int lineno);
|
||||
|
||||
Reference in New Issue
Block a user