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); }