summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-09 08:44:41 +0200
committerGitHub <noreply@github.com>2021-06-09 08:44:41 +0200
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
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.gz
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.bz2
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.lz
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.xz
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.tar.zst
yuzu-15483c07c603fc54f79906ad379860cd2f0212d2.zip
Diffstat (limited to '')
-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);
#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 {