diff options
| author | 2021-06-08 19:36:06 -0400 | |
|---|---|---|
| committer | 2021-06-08 19:36:09 -0400 | |
| commit | dd8577e91d853cb04d644b034f85aedd8216c870 (patch) | |
| tree | c30469727ec0abcad6c849b99c793eeb8f808027 | |
| parent | Merge pull request #6426 from lat9nq/context-menu-start (diff) | |
| download | yuzu-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.
| -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); | |||
| 209 | 209 | ||
| 210 | #ifdef _WIN32 | 210 | #ifdef _WIN32 |
| 211 | template <typename Path> | 211 | template <typename Path> |
| 212 | [[nodiscard]] void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) { | 212 | void 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 { |