summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlindex.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-03-06 22:45:17 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-12 08:59:08 +0100
commit0ee9b6831a4385d8a7b208220ed82ec6bf538b4e (patch)
tree97ae892c6010157dd82f84e1f1bfe5b06fef4b9b /src/sql/kernel/qsqlindex.h
parentcc5ea94c0172645741e9a5601d13ff500d2332ea (diff)
QtSql: make some constructors explicit
This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: I3a79f66f9705bc991175f396138efe3088727a85 Reviewed-by: Mark Brand <mabrand@mabrand.nl> Reviewed-by: Honglei Zhang <honglei.zhang@nokia.com>
Diffstat (limited to 'src/sql/kernel/qsqlindex.h')
-rw-r--r--src/sql/kernel/qsqlindex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/kernel/qsqlindex.h b/src/sql/kernel/qsqlindex.h
index e3e55b690e..0af63ab67c 100644
--- a/src/sql/kernel/qsqlindex.h
+++ b/src/sql/kernel/qsqlindex.h
@@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE
class Q_SQL_EXPORT QSqlIndex : public QSqlRecord
{
public:
- QSqlIndex(const QString &cursorName = QString(), const QString &name = QString());
+ explicit QSqlIndex(const QString &cursorName = QString(), const QString &name = QString());
QSqlIndex(const QSqlIndex &other);
~QSqlIndex();
QSqlIndex &operator=(const QSqlIndex &other);