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:
@@ -48,7 +48,7 @@ class CPLUSPLUS_EXPORT MacroArgumentReference
|
||||
unsigned _length;
|
||||
|
||||
public:
|
||||
MacroArgumentReference(unsigned position = 0, unsigned length = 0)
|
||||
explicit MacroArgumentReference(unsigned position = 0, unsigned length = 0)
|
||||
: _position(position), _length(length)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user