diff --git a/src/operators/fuzzy_hash.cc b/src/operators/fuzzy_hash.cc index e2f5ae96..61ea2821 100644 --- a/src/operators/fuzzy_hash.cc +++ b/src/operators/fuzzy_hash.cc @@ -82,11 +82,6 @@ bool FuzzyHash::init(const std::string ¶m2, std::string *error) { #endif } -FuzzyHash::~FuzzyHash() { - -} - - bool FuzzyHash::evaluate(Transaction *t, const std::string &str) { #ifdef WITH_SSDEEP char result[FUZZY_MAX_RESULT]; diff --git a/src/operators/fuzzy_hash.h b/src/operators/fuzzy_hash.h index 3b973875..b78054f5 100644 --- a/src/operators/fuzzy_hash.h +++ b/src/operators/fuzzy_hash.h @@ -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;