SqlQuery: Make `QSqlDatabase` parameter const reference
This commit is contained in:
parent
03ecde8b83
commit
9a480eb710
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue