summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_per_game_addons.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-19 03:43:16 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-22 13:36:24 -0400
commit81b1b71993473b31321c8ff2d0dd0b267848a968 (patch)
tree3f2ab1041c7d819949fd68faa3dd21759f7ce2a9 /src/yuzu/configuration/configure_per_game_addons.cpp
parentfaf57c183f2f5cde3a0cdc13ccaa1605980e1c72 (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.cpp4
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 9b709d405..ebb0f411c 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;