From a345a1f4a155ae62fb218f7f4c13d08911a73397 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 23 May 2021 09:52:41 +0200 Subject: Userland: Mark subclasses of IPC::{Client,Server}Connection final --- Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h | 2 +- Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'Userland/DevTools') diff --git a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h index f702788dfa..9f88ae8acc 100644 --- a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h +++ b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h @@ -14,7 +14,7 @@ #define LANGUAGE_CLIENT(language_name_, socket_name) \ namespace language_name_ { \ - class ServerConnection : public HackStudio::ServerConnection { \ + class ServerConnection final : public HackStudio::ServerConnection { \ C_OBJECT(ServerConnection) \ public: \ static const char* language_name() { return #language_name_; } \ diff --git a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h index de1f4398fc..b227923dd3 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h +++ b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h @@ -18,8 +18,7 @@ namespace LanguageServers { -class ClientConnection - : public IPC::ClientConnection { +class ClientConnection : public IPC::ClientConnection { public: explicit ClientConnection(NonnullRefPtr, int client_id); ~ClientConnection() override; -- cgit v1.2.3