diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-09 02:44:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 02:44:41 -0400 |
commit | 15483c07c603fc54f79906ad379860cd2f0212d2 (patch) | |
tree | 996378ba4f91a74e91881abd16f4ca7a0777d6d0 /src/common/fs/path_util.h | |
parent | f9c3e2e872fd35c5056c07c6fd7341bbafe1ba89 (diff) | |
parent | dd8577e91d853cb04d644b034f85aedd8216c870 (diff) |
Merge pull request #6435 from lioncash/nodisc2
common/fs/path_util: Remove [[nodiscard]] from function with void return
Diffstat (limited to 'src/common/fs/path_util.h')
-rw-r--r-- | src/common/fs/path_util.h | 2 |
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); #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 { |