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/pp-macro-expander.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/pp-macro-expander.h')
-rw-r--r-- | src/libs/cplusplus/pp-macro-expander.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/pp-macro-expander.h b/src/libs/cplusplus/pp-macro-expander.h index f19be4111f..2021c3f2fb 100644 --- a/src/libs/cplusplus/pp-macro-expander.h +++ b/src/libs/cplusplus/pp-macro-expander.h @@ -80,7 +80,7 @@ class MacroExpander const QByteArray *resolve_formal(const QByteArray &name); public: - MacroExpander(Environment *env, pp_frame *frame = 0, Client *client = 0, unsigned start_offset = 0); + explicit MacroExpander(Environment *env, pp_frame *frame = 0, Client *client = 0, unsigned start_offset = 0); const char *operator()(const char *first, const char *last, QByteArray *result); |