Change some parms to const reference (satisfies cppcheck)

This commit is contained in:
Martin Vierula
2022-04-27 08:57:09 -07:00
parent 0be89cc15e
commit 606f5721c2
6 changed files with 6 additions and 8 deletions

View File

@@ -278,7 +278,7 @@ Transaction::~Transaction() {
*
*/
#ifndef NO_LOGS
void Transaction::debug(int level, std::string message) const {
void Transaction::debug(int level, const std::string& message) const {
if (m_rules == NULL) {
return;
}