Makes matchedvars inline

This commit is contained in:
Felipe Zimmerle
2018-10-10 23:49:26 -03:00
parent b58018e778
commit a5a40a71a9
2 changed files with 6 additions and 6 deletions

View File

@@ -241,8 +241,8 @@ void Rule::cleanUpActions() {
}
void Rule::updateMatchedVars(Transaction *trans, std::string key,
std::string value) {
inline void Rule::updateMatchedVars(Transaction *trans, const std::string &key,
const std::string &value) {
#ifndef NO_LOGS
trans->debug(9, "Matched vars updated.");
#endif
@@ -254,7 +254,7 @@ void Rule::updateMatchedVars(Transaction *trans, std::string key,
}
void Rule::cleanMatchedVars(Transaction *trans) {
inline void Rule::cleanMatchedVars(Transaction *trans) {
#ifndef NO_LOGS
trans->debug(9, "Matched vars cleaned.");
#endif