mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Modernize various files
* range-based for loops * emplace_back instead of push_back * code style * C++ headers instead of C headers * Default operators * empty stl function
This commit is contained in:
parent
13e995b811
commit
55ab4264dc
12 changed files with 100 additions and 118 deletions
|
@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
struct MainMenuDataForScript {
|
||||
|
||||
MainMenuDataForScript() {}
|
||||
MainMenuDataForScript() = default;
|
||||
|
||||
// Whether the server has requested a reconnect
|
||||
bool reconnect_requested = false;
|
||||
|
@ -51,5 +51,5 @@ struct MainMenuData {
|
|||
// Data to be passed to the script
|
||||
MainMenuDataForScript script_data;
|
||||
|
||||
MainMenuData() {}
|
||||
MainMenuData() = default;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue