summaryrefslogtreecommitdiffstats
path: root/src/sql/kernel/qsqlindex.h
diff options
context:
space:
mode:
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);