mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
EXPECTS usage removed
This commit is contained in:
parent
56b9b38c9c
commit
84d0d396ed
27 changed files with 90 additions and 106 deletions
|
@ -172,7 +172,7 @@ std::shared_ptr<fs::device_base> fs::get_virtual_device(const std::string& path)
|
|||
|
||||
std::shared_ptr<fs::device_base> fs::set_virtual_device(const std::string& name, const std::shared_ptr<device_base>& device)
|
||||
{
|
||||
EXPECTS(name.size() > 2 && name[0] == '/' && name[1] == '/' && name.find('/', 2) == -1);
|
||||
verify(HERE), name.size() > 2, name[0] == '/', name[1] == '/', name.find('/', 2) == -1;
|
||||
|
||||
return get_device_manager().set_device(name, device);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue