mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Change some parms to const reference (satisfies cppcheck)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user