From ae524c03467a177e06f1bde60b5a53e8590d55df Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 6 Feb 2024 13:34:47 +0800 Subject: [PATCH] Mark fileProviderAvailable as nodiscard Signed-off-by: Claudio Cambra --- src/gui/macOS/fileprovider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/macOS/fileprovider.h b/src/gui/macOS/fileprovider.h index 215a62dfb..8132c11b3 100644 --- a/src/gui/macOS/fileprovider.h +++ b/src/gui/macOS/fileprovider.h @@ -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; -- 2.30.2