1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

LanguageServers/Cpp: Fix typo

This commit is contained in:
Itamar 2021-03-01 22:48:15 +02:00 committed by Andreas Kling
parent 1d3b5dabc3
commit 17e6287333
Notes: sideshowbarker 2024-07-18 21:46:43 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,7 @@ void LanguageClient::set_active_client()
void LanguageClient::on_server_crash()
{
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);
m_server_connection = nullptr;

View file

@ -67,7 +67,7 @@ public:
}
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>
static NonnullRefPtr<ServerConnection> get_or_create(const String& project_path)