mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Modernize various files (src/m*) (#6267)
* Modernize various files (src/m*) * range-based for loops * code style * C++ headers instead of C headers * Default operators * empty function Thanks to clang-tidy
This commit is contained in:
parent
fb196be8cf
commit
c427533389
34 changed files with 254 additions and 355 deletions
|
@ -121,7 +121,7 @@ private:
|
|||
std::unordered_set<std::string> m_name_conflicts;
|
||||
|
||||
// Deleted default constructor
|
||||
ModConfiguration() {}
|
||||
ModConfiguration() = default;
|
||||
|
||||
};
|
||||
|
||||
|
@ -155,7 +155,7 @@ class ModMetadata: public Metadata
|
|||
{
|
||||
public:
|
||||
ModMetadata(const std::string &mod_name);
|
||||
~ModMetadata() {}
|
||||
~ModMetadata() = default;
|
||||
|
||||
virtual void clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue