LanguageServers: Remove ClientConnection dependency

We now no longer need to provide a ClientConnection object to construct
AutoCompleteEngine.
This commit is contained in:
Itamar 2021-05-14 10:20:17 +03:00 committed by Andreas Kling
commit c49cf23a86
Notes: sideshowbarker 2024-07-18 18:10:13 +09:00
12 changed files with 24 additions and 29 deletions

View file

@ -14,8 +14,8 @@ namespace LanguageServers::Shell {
RefPtr<::Shell::Shell> AutoComplete::s_shell {};
AutoComplete::AutoComplete(ClientConnection& connection, const FileDB& filedb)
: AutoCompleteEngine(connection, filedb, true)
AutoComplete::AutoComplete(const FileDB& filedb)
: AutoCompleteEngine(filedb, true)
{
}