SqlQuery: Make `QSqlDatabase` parameter const reference

This commit is contained in:
Jonas Kvinge 2021-10-30 01:33:16 +02:00
parent 03ecde8b83
commit 9a480eb710
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
class SqlQuery : public QSqlQuery {
public:
explicit SqlQuery(QSqlDatabase db) : QSqlQuery(db) {}
explicit SqlQuery(const QSqlDatabase &db) : QSqlQuery(db) {}
void BindValue(const QString &placeholder, const QVariant &value);
bool Exec();