0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Change method parameter type "const std::string" -> "const std::string&"

This commit is contained in:
MeanSquaredError 2023-08-13 03:14:00 +03:00 committed by Roland Bock
parent c550dca89e
commit f7ad116ced

View File

@ -487,7 +487,7 @@ namespace sqlpp
} }
//! report a rollback failure (will be called by transactions in case of a rollback failure in the destructor) //! 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; std::cerr << "MySQL message:" << message << std::endl;
} }