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

@@ -26,7 +26,7 @@ namespace modsecurity {
std::string RuleMessage::_details(const RuleMessage *rm) {
std::string msg;
msg.append(" [file \"" + std::string(rm->m_ruleFile) + "\"]");
msg.append(" [file \"" + std::string(*rm->m_ruleFile.get()) + "\"]");
msg.append(" [line \"" + std::to_string(rm->m_ruleLine) + "\"]");
msg.append(" [id \"" + std::to_string(rm->m_ruleId) + "\"]");
msg.append(" [rev \"" + rm->m_rev + "\"]");