diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:52:41 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:53:55 +0200 |
commit | a345a1f4a155ae62fb218f7f4c13d08911a73397 (patch) | |
tree | 3573a0d425ab5738e8cf99c56da1b9ac1fa07afa /Userland/DevTools | |
parent | c1c252ddb2316cd2e82e3599d1a067c68ea9d099 (diff) | |
download | serenity-a345a1f4a155ae62fb218f7f4c13d08911a73397.zip |
Userland: Mark subclasses of IPC::{Client,Server}Connection final
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h | 2 | ||||
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h | 3 |
2 files changed, 2 insertions, 3 deletions
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<LanguageClientEndpoint, LanguageServerEndpoint> { +class ClientConnection : public IPC::ClientConnection<LanguageClientEndpoint, LanguageServerEndpoint> { public: explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id); ~ClientConnection() override; |