summaryrefslogtreecommitdiff
path: root/src/common/fs
diff options
context:
space:
mode:
authorGravatar Lioncash2021-06-08 19:36:06 -0400
committerGravatar Lioncash2021-06-08 19:36:09 -0400
commitdd8577e91d853cb04d644b034f85aedd8216c870 (patch)
treec30469727ec0abcad6c849b99c793eeb8f808027 /src/common/fs
parentMerge pull request #6426 from lat9nq/context-menu-start (diff)
downloadyuzu-dd8577e91d853cb04d644b034f85aedd8216c870.tar.gz
yuzu-dd8577e91d853cb04d644b034f85aedd8216c870.tar.xz
yuzu-dd8577e91d853cb04d644b034f85aedd8216c870.zip
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.
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/path_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index 14e8c35d7..f956ac9a2 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);
209 209
210#ifdef _WIN32 210#ifdef _WIN32
211template <typename Path> 211template <typename Path>
212[[nodiscard]] void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) { 212void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) {
213 if constexpr (IsChar<typename Path::value_type>) { 213 if constexpr (IsChar<typename Path::value_type>) {
214 SetYuzuPath(yuzu_path, ToU8String(new_path)); 214 SetYuzuPath(yuzu_path, ToU8String(new_path));
215 } else { 215 } else {