From b375ea484a4e6ef74355a98261983ec03dda2685 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 22 Jan 2021 10:10:37 +0100 Subject: [PATCH] LSP: Fix signatureInformation getter/setter Change-Id: I555b7752aaa79b2f38e5c5ed100729d9610557b7 Reviewed-by: Christian Stenger --- src/libs/languageserverprotocol/clientcapabilities.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/languageserverprotocol/clientcapabilities.h b/src/libs/languageserverprotocol/clientcapabilities.h index 13cfb262cfb..14490ae6ad1 100644 --- a/src/libs/languageserverprotocol/clientcapabilities.h +++ b/src/libs/languageserverprotocol/clientcapabilities.h @@ -282,9 +282,9 @@ public: }; // The client supports the following `SignatureInformation` specific properties. - Utils::optional signatureInformation() const - { return optionalValue(signatureInformationKey); } - void setSignatureInformation(const SignatureHelpCapabilities &signatureInformation) + Utils::optional signatureInformation() const + { return optionalValue(signatureInformationKey); } + void setSignatureInformation(const SignatureInformationCapabilities &signatureInformation) { insert(signatureInformationKey, signatureInformation); } void clearSignatureInformation() { remove(signatureInformationKey); }