diff options
author | Lioncash <mathew1800@gmail.com> | 2021-06-08 19:36:06 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-06-08 19:36:09 -0400 |
commit | dd8577e91d853cb04d644b034f85aedd8216c870 (patch) | |
tree | c30469727ec0abcad6c849b99c793eeb8f808027 /src/common/fs | |
parent | f09c9b5fcc9b39f525d0a9a949ac0511392cb7bc (diff) |
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.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 { |