Fix krazy issues: Use explicit constructors

* Fix all warnings about non-explicit constructors except for those
   in 3rdparty code.
This commit is contained in:
Tobias Hunger
2010-08-26 18:35:30 +02:00
parent 8d188d0104
commit 715796b48a
63 changed files with 77 additions and 77 deletions

View File

@@ -64,7 +64,7 @@ namespace QmlJS { namespace AST {
class SourceLocation
{
public:
SourceLocation(quint32 offset = 0, quint32 length = 0, quint32 line = 0, quint32 column = 0)
explicit SourceLocation(quint32 offset = 0, quint32 length = 0, quint32 line = 0, quint32 column = 0)
: offset(offset), length(length),
startLine(line), startColumn(column)
{ }