diff options
| author | 2022-03-11 14:27:32 +0000 | |
|---|---|---|
| committer | 2022-03-11 14:52:56 +0000 | |
| commit | 2d329701db1d5c0361c018e088eb82c457f8ec7c (patch) | |
| tree | 7897c5fcdf7eecb8c96bf31c030043d76574fa23 /include/modules/sql.h | |
| parent | Refactor the opermodes module. (diff) | |
| parent | Use 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.h | 2 |
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) { |
