mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 21:38:01 +03:00
Simplify fmt::throw_exception
Gradual exception deprecation: disallow choosing exception type. However, the function itself can remain here forever.
This commit is contained in:
parent
b338014639
commit
587ae17aa2
6 changed files with 11 additions and 24 deletions
|
@ -911,7 +911,7 @@ bool fs::utime(const std::string& path, s64 atime, s64 mtime)
|
|||
|
||||
void fs::file::xnull() const
|
||||
{
|
||||
fmt::throw_exception<std::logic_error>("fs::file is null");
|
||||
fmt::throw_exception("fs::file is null");
|
||||
}
|
||||
|
||||
void fs::file::xfail() const
|
||||
|
@ -1330,7 +1330,7 @@ fs::native_handle fs::file::get_handle() const
|
|||
|
||||
void fs::dir::xnull() const
|
||||
{
|
||||
fmt::throw_exception<std::logic_error>("fs::dir is null");
|
||||
fmt::throw_exception("fs::dir is null");
|
||||
}
|
||||
|
||||
bool fs::dir::open(const std::string& path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue