mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Code modernization: src/n*, src/o* (#6280)
* Code modernization: src/n*, src/o* * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove unused IWritableNodeDefManager::clone() * C++ STL header style * Pointer constness in some functions
This commit is contained in:
parent
4a1265ceb5
commit
1992db1395
12 changed files with 207 additions and 287 deletions
|
@ -43,7 +43,7 @@ enum ObjDefType {
|
|||
|
||||
class ObjDef {
|
||||
public:
|
||||
virtual ~ObjDef() {}
|
||||
virtual ~ObjDef() = default;
|
||||
|
||||
u32 index;
|
||||
u32 uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue