1
0
Fork 0
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:
Loic Blot 2017-08-18 08:21:01 +02:00
parent 1d086aee7c
commit 951f1201c4
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
6 changed files with 25 additions and 32 deletions

View file

@ -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);