all derived class use final keyword
This commit is contained in:
1 parent
d575c7c2a9
commit
7740028291
6 files changed
+6
-6
No files matched your search
@@ -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