aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules/sql.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-03-11 14:27:32 +0000
committerGravatar Sadie Powell2022-03-11 14:52:56 +0000
commit2d329701db1d5c0361c018e088eb82c457f8ec7c (patch)
tree7897c5fcdf7eecb8c96bf31c030043d76574fa23 /include/modules/sql.h
parentRefactor the opermodes module. (diff)
parentUse UCHAR_MAX instead of raw sizes in channames. (diff)
Merge branch 'insp3' into master.
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 291a64012..9f75c74eb 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -131,7 +131,7 @@ public:
* @param c A code which represents this error.
* @param m A custom error message.
*/
- Error(ErrorCode c, const std::string m)
+ Error(ErrorCode c, const std::string& m)
: message(m)
, code(c)
{