diff options
Diffstat (limited to 'Userland/DevTools/HackStudio')
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/ClientConnection.cpp | 3 | ||||
-rw-r--r-- | Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.cpp b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.cpp index 9080a6a908..e909115888 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.cpp +++ b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.cpp @@ -30,7 +30,7 @@ void ClientConnection::die() exit(0); } -Messages::LanguageServer::GreetResponse ClientConnection::handle(const Messages::LanguageServer::Greet& message) +void ClientConnection::handle(const Messages::LanguageServer::Greet& message) { m_filedb.set_project_root(message.project_root()); if (unveil(message.project_root().characters(), "r") < 0) { @@ -41,7 +41,6 @@ Messages::LanguageServer::GreetResponse ClientConnection::handle(const Messages: perror("unveil"); exit(1); } - return {}; } void ClientConnection::handle(const Messages::LanguageServer::FileOpened& message) diff --git a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h index 092264898e..624aee8a63 100644 --- a/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h +++ b/Userland/DevTools/HackStudio/LanguageServers/ClientConnection.h @@ -29,7 +29,7 @@ public: virtual void die() override; protected: - virtual Messages::LanguageServer::GreetResponse handle(const Messages::LanguageServer::Greet&) override; + virtual void handle(const Messages::LanguageServer::Greet&) override; virtual void handle(const Messages::LanguageServer::FileOpened&) override; virtual void handle(const Messages::LanguageServer::FileEditInsertText&) override; virtual void handle(const Messages::LanguageServer::FileEditRemoveText&) override; |