Skip to content

Commit 8f00f47

Browse files
committed
Make destructor default; remove impmelentation
1 parent 42280d2 commit 8f00f47

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/operators/fuzzy_hash.cc

-5
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ bool FuzzyHash::init(const std::string &param2, std::string *error) {
8282
#endif
8383
}
8484

85-
FuzzyHash::~FuzzyHash() {
86-
87-
}
88-
89-
9085
bool FuzzyHash::evaluate(Transaction *t, const std::string &str) {
9186
#ifdef WITH_SSDEEP
9287
char result[FUZZY_MAX_RESULT];

src/operators/fuzzy_hash.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class FuzzyHash : public Operator {
4242
: Operator("FuzzyHash", std::move(param)),
4343
m_threshold(0),
4444
m_head(NULL) { }
45-
~FuzzyHash() override;
45+
~FuzzyHash() override = default;
4646

4747
bool evaluate(Transaction *transaction, const std::string &std) override;
4848

0 commit comments

Comments
 (0)