mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Code modernization: src/m* (part 3)
* empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove some unused headers in some cpp variable
This commit is contained in:
parent
b5f7249a7e
commit
d382483fa7
11 changed files with 20 additions and 31 deletions
|
@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
class Metadata
|
||||
{
|
||||
public:
|
||||
virtual ~Metadata() {}
|
||||
virtual ~Metadata() = default;
|
||||
|
||||
virtual void clear();
|
||||
virtual bool empty() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue