Make destructor default; remove impmelentation

This commit is contained in:
Ervin Hegedus 2025-03-12 23:07:43 +01:00
parent 42280d213d
commit 8f00f4700f
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61
2 changed files with 1 additions and 6 deletions

View File

@ -82,11 +82,6 @@ bool FuzzyHash::init(const std::string &param2, std::string *error) {
#endif
}
FuzzyHash::~FuzzyHash() {
}
bool FuzzyHash::evaluate(Transaction *t, const std::string &str) {
#ifdef WITH_SSDEEP
char result[FUZZY_MAX_RESULT];

View File

@ -42,7 +42,7 @@ class FuzzyHash : public Operator {
: Operator("FuzzyHash", std::move(param)),
m_threshold(0),
m_head(NULL) { }
~FuzzyHash() override;
~FuzzyHash() override = default;
bool evaluate(Transaction *transaction, const std::string &std) override;