mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +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
|
@ -66,8 +66,6 @@ BifItem& BifItem::operator=(const BifItem& other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
BifItem::~BifItem() { }
|
||||
|
||||
void HookArgument::Describe(ODesc* d) const
|
||||
{
|
||||
switch ( type )
|
||||
|
|
|
@ -190,7 +190,7 @@ private:
|
|||
/**
|
||||
* A class describing an item defined in \c *.bif file.
|
||||
*/
|
||||
class BifItem
|
||||
class BifItem final
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@ -228,7 +228,7 @@ public:
|
|||
/**
|
||||
* Destructor.
|
||||
*/
|
||||
~BifItem();
|
||||
~BifItem() = default;
|
||||
|
||||
/**
|
||||
* Returns the script-level ID as passed into the constructor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue