diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-08-26 18:35:30 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-08-27 12:10:29 +0200 |
commit | 715796b48a4d6656b8375bc42c3396308089c937 (patch) | |
tree | 576749701ac9b10d5c5f6e4e377d15b99f793b45 /src/libs/cplusplus/PreprocessorClient.h | |
parent | 8d188d01046caaf7e41657e5c34c450620de05f1 (diff) | |
download | qt-creator-715796b48a4d6656b8375bc42c3396308089c937.tar.gz |
Fix krazy issues: Use explicit constructors
* Fix all warnings about non-explicit constructors except for those
in 3rdparty code.
Diffstat (limited to 'src/libs/cplusplus/PreprocessorClient.h')
-rw-r--r-- | src/libs/cplusplus/PreprocessorClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/PreprocessorClient.h b/src/libs/cplusplus/PreprocessorClient.h index 649f6ddfe7..b9d9145fce 100644 --- a/src/libs/cplusplus/PreprocessorClient.h +++ b/src/libs/cplusplus/PreprocessorClient.h @@ -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) { } |