LSP: Fix signatureInformation getter/setter

Change-Id: I555b7752aaa79b2f38e5c5ed100729d9610557b7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2021-01-22 10:10:37 +01:00
parent 71c2443bb0
commit b375ea484a

View File

@@ -282,9 +282,9 @@ public:
};
// The client supports the following `SignatureInformation` specific properties.
Utils::optional<SignatureHelpCapabilities> signatureInformation() const
{ return optionalValue<SignatureHelpCapabilities>(signatureInformationKey); }
void setSignatureInformation(const SignatureHelpCapabilities &signatureInformation)
Utils::optional<SignatureInformationCapabilities> signatureInformation() const
{ return optionalValue<SignatureInformationCapabilities>(signatureInformationKey); }
void setSignatureInformation(const SignatureInformationCapabilities &signatureInformation)
{ insert(signatureInformationKey, signatureInformation); }
void clearSignatureInformation() { remove(signatureInformationKey); }