mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 16:47:42 +00:00
LanguageServers/Cpp: Fix typo
This commit is contained in:
parent
1d3b5dabc3
commit
17e6287333
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ void LanguageClient::set_active_client()
|
||||||
void LanguageClient::on_server_crash()
|
void LanguageClient::on_server_crash()
|
||||||
{
|
{
|
||||||
VERIFY(m_server_connection);
|
VERIFY(m_server_connection);
|
||||||
auto project_path = m_server_connection->projcet_path();
|
auto project_path = m_server_connection->project_path();
|
||||||
ServerConnection::remove_instance_for_project(project_path);
|
ServerConnection::remove_instance_for_project(project_path);
|
||||||
m_server_connection = nullptr;
|
m_server_connection = nullptr;
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
WeakPtr<LanguageClient> language_client() { return m_language_client; }
|
WeakPtr<LanguageClient> language_client() { return m_language_client; }
|
||||||
const String& projcet_path() const { return m_project_path; }
|
const String& project_path() const { return m_project_path; }
|
||||||
|
|
||||||
template<typename ConcreteType>
|
template<typename ConcreteType>
|
||||||
static NonnullRefPtr<ServerConnection> get_or_create(const String& project_path)
|
static NonnullRefPtr<ServerConnection> get_or_create(const String& project_path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue