mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Make destructor default; remove impmelentation
This commit is contained in:
parent
42280d213d
commit
8f00f4700f
@ -82,11 +82,6 @@ bool FuzzyHash::init(const std::string ¶m2, std::string *error) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
FuzzyHash::~FuzzyHash() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool FuzzyHash::evaluate(Transaction *t, const std::string &str) {
|
bool FuzzyHash::evaluate(Transaction *t, const std::string &str) {
|
||||||
#ifdef WITH_SSDEEP
|
#ifdef WITH_SSDEEP
|
||||||
char result[FUZZY_MAX_RESULT];
|
char result[FUZZY_MAX_RESULT];
|
||||||
|
@ -42,7 +42,7 @@ class FuzzyHash : public Operator {
|
|||||||
: Operator("FuzzyHash", std::move(param)),
|
: Operator("FuzzyHash", std::move(param)),
|
||||||
m_threshold(0),
|
m_threshold(0),
|
||||||
m_head(NULL) { }
|
m_head(NULL) { }
|
||||||
~FuzzyHash() override;
|
~FuzzyHash() override = default;
|
||||||
|
|
||||||
bool evaluate(Transaction *transaction, const std::string &std) override;
|
bool evaluate(Transaction *transaction, const std::string &std) override;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user