mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
fix some warnings
This commit is contained in:
parent
b1c48e66c9
commit
59c58aa3cf
72 changed files with 263 additions and 203 deletions
|
@ -50,6 +50,17 @@ namespace cfg
|
|||
return false;
|
||||
}
|
||||
|
||||
bool _base::save(std::string_view cfg_name) const
|
||||
{
|
||||
if (fs::pending_file cfg_file(cfg_name); !!cfg_file.file)
|
||||
{
|
||||
cfg_file.file.write(to_string());
|
||||
return cfg_file.commit();
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// Emit YAML
|
||||
static void encode(YAML::Emitter& out, const class _base& rhs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue