all derived class use final keyword

This commit is contained in:
Benjamin Sergeant
2019-05-12 11:43:21 -07:00
parent ed0e23e8a5
commit 156288b17b
6 changed files with 6 additions and 6 deletions

View File

@ -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,