mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Mark a bunch of classes as final
This commit is contained in:
parent
3fb4049612
commit
e55fb6da71
15 changed files with 18 additions and 17 deletions
|
@ -269,11 +269,12 @@ public:
|
|||
JoystickController joystick;
|
||||
KeyCache keycache;
|
||||
};
|
||||
|
||||
/*
|
||||
Separated input handler
|
||||
Separated input handler implementations
|
||||
*/
|
||||
|
||||
class RealInputHandler : public InputHandler
|
||||
class RealInputHandler final : public InputHandler
|
||||
{
|
||||
public:
|
||||
RealInputHandler(MyEventReceiver *receiver) : m_receiver(receiver)
|
||||
|
@ -372,7 +373,7 @@ private:
|
|||
v2s32 m_mousepos;
|
||||
};
|
||||
|
||||
class RandomInputHandler : public InputHandler
|
||||
class RandomInputHandler final : public InputHandler
|
||||
{
|
||||
public:
|
||||
RandomInputHandler() = default;
|
||||
|
|
|
@ -39,7 +39,7 @@ struct TextureInfo
|
|||
};
|
||||
|
||||
// TextureSource
|
||||
class TextureSource : public IWritableTextureSource
|
||||
class TextureSource final : public IWritableTextureSource
|
||||
{
|
||||
public:
|
||||
TextureSource();
|
||||
|
|
|
@ -234,7 +234,7 @@ class Peer : public IPeer {
|
|||
|
||||
class UDPPeer;
|
||||
|
||||
class Connection : public IConnection
|
||||
class Connection final : public IConnection
|
||||
{
|
||||
public:
|
||||
friend class ConnectionSendThread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue