all derived class use final keyword
This commit is contained in:
		@@ -13,7 +13,7 @@
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
{
 | 
			
		||||
    class SelectInterruptEventFd : public SelectInterrupt {
 | 
			
		||||
    class SelectInterruptEventFd final : public SelectInterrupt {
 | 
			
		||||
    public:
 | 
			
		||||
        SelectInterruptEventFd();
 | 
			
		||||
        virtual ~SelectInterruptEventFd();
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
{
 | 
			
		||||
    class SelectInterruptPipe : public SelectInterrupt {
 | 
			
		||||
    class SelectInterruptPipe final : public SelectInterrupt {
 | 
			
		||||
    public:
 | 
			
		||||
        SelectInterruptPipe();
 | 
			
		||||
        virtual ~SelectInterruptPipe();
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
{
 | 
			
		||||
    class SocketAppleSSL : public Socket
 | 
			
		||||
    class SocketAppleSSL final : public Socket
 | 
			
		||||
    {
 | 
			
		||||
    public:
 | 
			
		||||
        SocketAppleSSL(int fd = -1);
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
{
 | 
			
		||||
    class SocketOpenSSL : public Socket
 | 
			
		||||
    class SocketOpenSSL final : public Socket
 | 
			
		||||
    {
 | 
			
		||||
    public:
 | 
			
		||||
        SocketOpenSSL(int fd = -1);
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
 | 
			
		||||
namespace ix
 | 
			
		||||
{
 | 
			
		||||
    class SocketSChannel : public Socket
 | 
			
		||||
    class SocketSChannel final : public Socket
 | 
			
		||||
    {
 | 
			
		||||
    public:
 | 
			
		||||
        SocketSChannel();
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ namespace ix
 | 
			
		||||
    using OnConnectionCallback = std::function<void(std::shared_ptr<WebSocket>,
 | 
			
		||||
                                                    std::shared_ptr<ConnectionState>)>;
 | 
			
		||||
 | 
			
		||||
    class WebSocketServer : public SocketServer {
 | 
			
		||||
    class WebSocketServer final : public SocketServer {
 | 
			
		||||
    public:
 | 
			
		||||
        WebSocketServer(int port = SocketServer::kDefaultPort,
 | 
			
		||||
                        const std::string& host = SocketServer::kDefaultHost,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user