Lets reserve some memory for rule message

This commit is contained in:
Felipe Zimmerle
2019-02-12 16:13:15 -03:00
parent a609249d64
commit 8cfb289cea
2 changed files with 42 additions and 33 deletions

View File

@@ -88,8 +88,8 @@ class RuleMessage {
return log(rm, 0);
}
static inline void _details(const RuleMessage *rm, std::string *msg);
static inline void _errorLogTail(const RuleMessage *rm, std::string *msg);
static std::string _details(const RuleMessage *rm);
static std::string _errorLogTail(const RuleMessage *rm);
int m_accuracy;
std::shared_ptr<std::string> m_clientIpAddress;