mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Replace src_loc with std::soource_location
This commit is contained in:
parent
2d32ba5ca2
commit
a2dcbb9c13
17 changed files with 146 additions and 290 deletions
|
@ -1163,12 +1163,12 @@ void fs::sync()
|
|||
#endif
|
||||
}
|
||||
|
||||
[[noreturn]] void fs::xnull(const src_loc& loc)
|
||||
[[noreturn]] void fs::xnull(std::source_location loc)
|
||||
{
|
||||
fmt::throw_exception("Null object.%s", loc);
|
||||
}
|
||||
|
||||
[[noreturn]] void fs::xfail(const src_loc& loc)
|
||||
[[noreturn]] void fs::xfail(std::source_location loc)
|
||||
{
|
||||
fmt::throw_exception("Unexpected fs::error %s%s", g_tls_error, loc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue