diff options
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 9d43f7a6c..396c32f2c 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -162,7 +162,7 @@ class SQL::Error * @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) { |
