mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Replace empty destructor bodies with =default definitions
This commit is contained in:
parent
1991b87a07
commit
90d0bc64fa
66 changed files with 45 additions and 124 deletions
|
@ -115,8 +115,6 @@ CardinalityCounter::CardinalityCounter(uint64_t arg_size, uint64_t arg_V, double
|
|||
p = log2(m);
|
||||
}
|
||||
|
||||
CardinalityCounter::~CardinalityCounter() { }
|
||||
|
||||
uint8_t CardinalityCounter::Rank(uint64_t hash_modified) const
|
||||
{
|
||||
hash_modified = hash_modified >> p;
|
||||
|
|
|
@ -61,7 +61,7 @@ public:
|
|||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
~CardinalityCounter();
|
||||
~CardinalityCounter() = default;
|
||||
|
||||
/**
|
||||
* Add a new element to the counter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue