Makes m_fileName a shared pointer

This commit is contained in:
Felipe Zimmerle
2019-01-22 16:07:47 -03:00
parent 14b2bd77a0
commit 343b86c2a7
8 changed files with 18 additions and 18 deletions

View File

@@ -1764,7 +1764,7 @@ std::string Transaction::toJSON(int parts) {
LOGFY_ADD("match", a.m_match.c_str());
LOGFY_ADD("reference", a.m_reference.c_str());
LOGFY_ADD("ruleId", std::to_string(a.m_ruleId).c_str());
LOGFY_ADD("file", a.m_ruleFile.c_str());
LOGFY_ADD("file", a.m_ruleFile->c_str());
LOGFY_ADD("lineNumber", std::to_string(a.m_ruleLine).c_str());
LOGFY_ADD("data", a.m_data.c_str());
LOGFY_ADD("severity", std::to_string(a.m_severity).c_str());