From dd8577e91d853cb04d644b034f85aedd8216c870 Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Tue, 8 Jun 2021 19:36:06 -0400
Subject: [PATCH] common/fs/path_util: Remove [[nodiscard]] from function with
 void return

We can't make use of the return value here, since we don't a return
value to work with.
---
 src/common/fs/path_util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index 14e8c35d74..f956ac9a23 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -209,7 +209,7 @@ void SetYuzuPath(YuzuPath yuzu_path, const std::filesystem::path& new_path);
 
 #ifdef _WIN32
 template <typename Path>
-[[nodiscard]] void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) {
+void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) {
     if constexpr (IsChar<typename Path::value_type>) {
         SetYuzuPath(yuzu_path, ToU8String(new_path));
     } else {