summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringmatcher.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-02-23 22:39:20 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-26 10:53:25 +0100
commit4550f0db210258338c8d6261640d9f192c0d3db6 (patch)
treef26ad3727d4dc2da8ca6f9c62384e2c64a072a8e /src/corelib/tools/qstringmatcher.h
parent3ec9aac6c9aa627eb41f8603c517c8cf71be0af0 (diff)
QStringMatcher: make constructor explicit
Change-Id: I3a8f37d2132eb84bef336afed60aff6e2350366d Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/tools/qstringmatcher.h')
-rw-r--r--src/corelib/tools/qstringmatcher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringmatcher.h b/src/corelib/tools/qstringmatcher.h
index a9b2a7c371..3f614f732c 100644
--- a/src/corelib/tools/qstringmatcher.h
+++ b/src/corelib/tools/qstringmatcher.h
@@ -55,7 +55,7 @@ class Q_CORE_EXPORT QStringMatcher
{
public:
QStringMatcher();
- QStringMatcher(const QString &pattern,
+ explicit QStringMatcher(const QString &pattern,
Qt::CaseSensitivity cs = Qt::CaseSensitive);
QStringMatcher(const QChar *uc, int len,
Qt::CaseSensitivity cs = Qt::CaseSensitive);