Use default

This commit is contained in:
Jonas Kvinge
2021-06-21 15:38:58 +02:00
parent 1abbd5ecbc
commit 589bdf5dcd
19 changed files with 22 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ FHT::FHT(int n) : num_((n < 3) ? 0 : 1 << n), exp2_((n < 3) ? -1 : n) {
}
}
FHT::~FHT() {}
FHT::~FHT() = default;
int FHT::sizeExp() const { return exp2_; }
int FHT::size() const { return num_; }