Commit 171be7b5 authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Use reference

parent 631cc48d
......@@ -42,7 +42,7 @@ SQLiteConnection::~SQLiteConnection()
/*
* Executes a query
*/
SQLiteResource SQLiteConnection::query(QString q)
SQLiteResource SQLiteConnection::query(const QString &q)
{
rows.clear();
......
......@@ -57,7 +57,7 @@ public:
SQLiteConnection(QString const&, bool);
~SQLiteConnection();
SQLiteResource query(QString);
SQLiteResource query(const QString &q);
qint64 getLastRowId();
void bind(QString const&, int);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment