summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h')
-rw-r--r--Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h
index bcebdb419e..89266e37ca 100644
--- a/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h
+++ b/Userland/DevTools/HackStudio/LanguageClients/ServerConnections.h
@@ -32,16 +32,16 @@
#include <DevTools/HackStudio/LanguageServers/LanguageServerEndpoint.h>
#include <LibIPC/ServerConnection.h>
-#define LANGUAGE_CLIENT(namespace_, socket_name) \
- namespace namespace_ { \
- class ServerConnection : public HackStudio::ServerConnection { \
- C_OBJECT(ServerConnection) \
- private: \
- ServerConnection() \
- : HackStudio::ServerConnection("/tmp/portal/language/" #socket_name) \
- { \
- } \
- }; \
+#define LANGUAGE_CLIENT(namespace_, socket_name) \
+ namespace namespace_ { \
+ class ServerConnection : public HackStudio::ServerConnection { \
+ C_OBJECT(ServerConnection) \
+ private: \
+ ServerConnection(const String& project_path) \
+ : HackStudio::ServerConnection("/tmp/portal/language/" #socket_name, project_path) \
+ { \
+ } \
+ }; \
}
namespace LanguageClients {