diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-19 03:43:16 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-06-22 13:36:24 -0400 |
| commit | f81ef990acfbab4986bdb3145b60948defde153c (patch) | |
| tree | 3f2ab1041c7d819949fd68faa3dd21759f7ce2a9 /src/yuzu/configuration/configure_per_game_addons.cpp | |
| parent | 623d9f17307311d867b20db21d850e0334ba6f05 (diff) | |
common: fs: Remove [[nodiscard]] attribute on Remove* functions
There are a lot of scenarios where we don't particularly care whether or not the removal operation and just simply attempt a removal.
As such, removing the [[nodiscard]] attribute is best for these functions.
Diffstat (limited to 'src/yuzu/configuration/configure_per_game_addons.cpp')
| -rw-r--r-- | src/yuzu/configuration/configure_per_game_addons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_per_game_addons.cpp b/src/yuzu/configuration/configure_per_game_addons.cpp index 9b709d4051..ebb0f411ca 100644 --- a/src/yuzu/configuration/configure_per_game_addons.cpp +++ b/src/yuzu/configuration/configure_per_game_addons.cpp @@ -79,8 +79,8 @@ void ConfigurePerGameAddons::ApplyConfiguration() { std::sort(disabled_addons.begin(), disabled_addons.end()); std::sort(current.begin(), current.end()); if (disabled_addons != current) { - void(Common::FS::RemoveFile(Common::FS::GetYuzuPath(Common::FS::YuzuPath::CacheDir) / - "game_list" / fmt::format("{:016X}.pv.txt", title_id))); + Common::FS::RemoveFile(Common::FS::GetYuzuPath(Common::FS::YuzuPath::CacheDir) / + "game_list" / fmt::format("{:016X}.pv.txt", title_id)); } Settings::values.disabled_addons[title_id] = disabled_addons; |
