summaryrefslogtreecommitdiff
path: root/Userland/DevTools/HackStudio/AutoCompleteResponse.h
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2021-02-27 09:42:57 +0200
committerAndreas Kling <kling@serenityos.org>2021-02-27 16:37:35 +0100
commita94b5376bcf9428a71ad84fddb87da29c944c05e (patch)
treed265e2d5fddb0b06463f12b5a9771fe598912d9a /Userland/DevTools/HackStudio/AutoCompleteResponse.h
parent71c7597130a1c2e4622fc0179eff0cc62ecd4af8 (diff)
downloadserenity-a94b5376bcf9428a71ad84fddb87da29c944c05e.zip
LanguageServers/Cpp: Update client asynchronously about symbols
As a document is parsed, the language server updates the client asynchronously about symbol declarations it finds.
Diffstat (limited to 'Userland/DevTools/HackStudio/AutoCompleteResponse.h')
-rw-r--r--Userland/DevTools/HackStudio/AutoCompleteResponse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/AutoCompleteResponse.h b/Userland/DevTools/HackStudio/AutoCompleteResponse.h
index 540022f98d..26f2ed45eb 100644
--- a/Userland/DevTools/HackStudio/AutoCompleteResponse.h
+++ b/Userland/DevTools/HackStudio/AutoCompleteResponse.h
@@ -110,7 +110,7 @@ inline bool decode(Decoder& decoder, GUI::AutocompleteProvider::Declaration& dec
if (!decode(decoder, declaration.position))
return false;
u32 type;
- if (!decoder.decode( type))
+ if (!decoder.decode(type))
return false;
declaration.type = static_cast<GUI::AutocompleteProvider::DeclarationType>(type);