From 196adcae235d7ccb223c681990ed8abe5f9da7aa Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Tue, 22 Jan 2019 13:30:57 -0300 Subject: [PATCH] Removes reference counter for RulesSet --- headers/modsecurity/rules_set.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/headers/modsecurity/rules_set.h b/headers/modsecurity/rules_set.h index 66d9eecd..4e0766f5 100644 --- a/headers/modsecurity/rules_set.h +++ b/headers/modsecurity/rules_set.h @@ -48,16 +48,14 @@ class Driver; class RulesSet : public RulesSetProperties { public: RulesSet() - : RulesSetProperties(new DebugLog()), - unicode_codepage(0) + : RulesSetProperties(new DebugLog()) #ifndef NO_LOGS ,m_secmarker_skipped(0) #endif { } explicit RulesSet(DebugLog *customLog) - : RulesSetProperties(customLog), - unicode_codepage(0) + : RulesSetProperties(customLog) #ifndef NO_LOGS ,m_secmarker_skipped(0) #endif @@ -81,8 +79,6 @@ class RulesSet : public RulesSetProperties { void debug(int level, const std::string &id, const std::string &uri, const std::string &msg); - int64_t unicode_codepage; - RulesSetPhases m_rulesSetPhases; private: #ifndef NO_LOGS