mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Modernize various files (src/k*, src/l*)
* range-based for loops * code style * C++ headers instead of C headers * Default operators
This commit is contained in:
parent
1d086aee7c
commit
951f1201c4
6 changed files with 25 additions and 32 deletions
|
@ -30,7 +30,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
class KeyPress
|
||||
{
|
||||
public:
|
||||
KeyPress() {}
|
||||
KeyPress() = default;
|
||||
|
||||
KeyPress(const char *name);
|
||||
|
||||
KeyPress(const irr::SEvent::SKeyInput &in, bool prefer_character = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue