Replace empty destructor bodies with =default definitions

This commit is contained in:
Tim Wojtulewicz 2023-07-06 14:01:11 -07:00
parent 1991b87a07
commit 90d0bc64fa
66 changed files with 45 additions and 124 deletions

View file

@ -66,8 +66,6 @@ BifItem& BifItem::operator=(const BifItem& other)
return *this;
}
BifItem::~BifItem() { }
void HookArgument::Describe(ODesc* d) const
{
switch ( type )

View file

@ -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.