From f7ad116cedcf3e4c506c68829df82a304556580a Mon Sep 17 00:00:00 2001 From: MeanSquaredError <35379301+MeanSquaredError@users.noreply.github.com> Date: Sun, 13 Aug 2023 03:14:00 +0300 Subject: [PATCH] Change method parameter type "const std::string" -> "const std::string&" --- include/sqlpp11/mysql/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sqlpp11/mysql/connection.h b/include/sqlpp11/mysql/connection.h index c50fa93b..d5c8fec1 100644 --- a/include/sqlpp11/mysql/connection.h +++ b/include/sqlpp11/mysql/connection.h @@ -487,7 +487,7 @@ namespace sqlpp } //! report a rollback failure (will be called by transactions in case of a rollback failure in the destructor) - void report_rollback_failure(const std::string message) noexcept + void report_rollback_failure(const std::string& message) noexcept { std::cerr << "MySQL message:" << message << std::endl; }