aboutsummaryrefslogtreecommitdiff
path: root/include/modules/sql.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/sql.h')
-rw-r--r--include/modules/sql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 2985d1009..2f7557fdd 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -183,7 +183,7 @@ public:
/** Called when an SQL error happens.
* @param error The error that occurred.
*/
- virtual void OnError(SQL::Error& error) = 0;
+ virtual void OnError(const SQL::Error& error) = 0;
/** Called when a SQL result is received.
* @param result The result of the SQL query.