diff --git a/CHANGES b/CHANGES index 81653a13..8bfc76b6 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ v3.x.y - YYYY-MMM-DD (to be released) ------------------------------------- + - Add JIT support for PCRE2 + [Issue #2791 - @wfjsw, @airween, @FireBurn, @martinhsv] - Support comments in ipMatchFromFile file via '#' token [Issue #2554 - @tomsommer, @martinhsv] - Use name package name libmaxminddb with pkg-config diff --git a/src/operators/verify_cc.h b/src/operators/verify_cc.h index e2a5e242..f7d716da 100644 --- a/src/operators/verify_cc.h +++ b/src/operators/verify_cc.h @@ -39,12 +39,8 @@ class VerifyCC : public Operator { explicit VerifyCC(std::unique_ptr param) : Operator("VerifyCC", std::move(param)), #if WITH_PCRE2 - m_pc(NULL) - { -#if WITH_PCRE2 - m_pcje = PCRE2_ERROR_JIT_BADOPTION; -#endif - } + m_pc(NULL), + m_pcje(PCRE2_ERROR_JIT_BADOPTION) { } #else m_pc(NULL), m_pce(NULL) { }