mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 05:57:46 +00:00
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.
This commit is contained in:
parent
623d9f1730
commit
f81ef990ac
6 changed files with 26 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue