From f12409fbd6d51dfa8c9638e0f635d0ec769c3e15 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 9 Sep 2021 11:56:11 +0200 Subject: [PATCH] FilePath: add [[nodiscard]] to FilePath::cleanPath Change-Id: I546db0a73b21bc6fe76d6439e0df0bef479106b8 Reviewed-by: hjk --- src/libs/utils/filepath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/filepath.h b/src/libs/utils/filepath.h index c3060643bb6..e585249dab6 100644 --- a/src/libs/utils/filepath.h +++ b/src/libs/utils/filepath.h @@ -143,7 +143,7 @@ public: FilePath resolvePath(const FilePath &tail) const; FilePath resolvePath(const QString &tail) const; - FilePath cleanPath() const; + [[nodiscard]] FilePath cleanPath() const; FilePath canonicalPath() const; FilePath symLinkTarget() const; FilePath resolveSymlinks() const;