diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:46:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:53:55 +0200 |
commit | c1c252ddb2316cd2e82e3599d1a067c68ea9d099 (patch) | |
tree | fa503862181059788aade55bc40a874c7dad85f8 /Userland/DevTools | |
parent | 2eceabdcfd0ad20ace98d723ec3fcaac801ade32 (diff) | |
download | serenity-c1c252ddb2316cd2e82e3599d1a067c68ea9d099.zip |
LibIPC: Remove unnecessary IPC::ServerConnection::handshake()
This is no longer used by any of our IPC pairs.
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageClient.cpp | 1 | ||||
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageClient.h | 4 | ||||
-rw-r--r-- | Userland/DevTools/Inspector/InspectorServerClient.h | 5 |
3 files changed, 0 insertions, 10 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClient.cpp b/Userland/DevTools/HackStudio/LanguageClient.cpp index cb03e18cc8..e0bae003e5 100644 --- a/Userland/DevTools/HackStudio/LanguageClient.cpp +++ b/Userland/DevTools/HackStudio/LanguageClient.cpp @@ -178,7 +178,6 @@ void ServerConnectionWrapper::create_connection() VERIFY(m_connection.is_null()); m_connection = m_connection_creator(); m_connection->set_wrapper(*this); - m_connection->handshake(); } ServerConnection* ServerConnectionWrapper::connection() diff --git a/Userland/DevTools/HackStudio/LanguageClient.h b/Userland/DevTools/HackStudio/LanguageClient.h index 76f13e8d1f..02deed9385 100644 --- a/Userland/DevTools/HackStudio/LanguageClient.h +++ b/Userland/DevTools/HackStudio/LanguageClient.h @@ -37,10 +37,6 @@ public: async_greet(m_project_path); } - virtual void handshake() override - { - } - WeakPtr<LanguageClient> language_client() { return m_current_language_client; } const String& project_path() const { return m_project_path; } diff --git a/Userland/DevTools/Inspector/InspectorServerClient.h b/Userland/DevTools/Inspector/InspectorServerClient.h index a63f174b16..b694acef2f 100644 --- a/Userland/DevTools/Inspector/InspectorServerClient.h +++ b/Userland/DevTools/Inspector/InspectorServerClient.h @@ -18,17 +18,12 @@ class InspectorServerClient final C_OBJECT(InspectorServerClient); public: - virtual void handshake() override - { - } - virtual ~InspectorServerClient() override = default; private: InspectorServerClient() : IPC::ServerConnection<InspectorClientEndpoint, InspectorServerEndpoint>(*this, "/tmp/portal/inspector") { - handshake(); } virtual void dummy() override { } |