summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Morph2021-06-09 02:44:41 -0400
committerGravatar GitHub2021-06-09 02:44:41 -0400
commit15483c07c603fc54f79906ad379860cd2f0212d2 (patch)
tree996378ba4f91a74e91881abd16f4ca7a0777d6d0 /src
parentMerge pull request #6434 from lioncash/tcontext (diff)
parentcommon/fs/path_util: Remove [[nodiscard]] from function with void return (diff)
downloadyuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.gz
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.xz
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.zip
Merge pull request #6435 from lioncash/nodisc2
common/fs/path_util: Remove [[nodiscard]] from function with void return
Diffstat (limited to 'src')
-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 {