Mark fileProviderAvailable as nodiscard

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-02-06 13:34:47 +08:00
parent bbe48954be
commit ae524c0346

View file

@ -37,7 +37,7 @@ public:
static FileProvider *instance();
~FileProvider() override;
static bool fileProviderAvailable();
[[nodiscard]] static bool fileProviderAvailable();
public slots:
void createDebugArchiveForDomain(const QString &domainIdentifier, const QString &filename) const;