mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user