summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/pp-macro-expander.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-08-26 18:35:30 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-08-27 12:10:29 +0200
commit715796b48a4d6656b8375bc42c3396308089c937 (patch)
tree576749701ac9b10d5c5f6e4e377d15b99f793b45 /src/libs/cplusplus/pp-macro-expander.h
parent8d188d01046caaf7e41657e5c34c450620de05f1 (diff)
downloadqt-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.h2
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);