mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -04:00
fs: revise allocation-fail result names
This commit is contained in:
parent
11e4bed199
commit
e13b81aa9e
50 changed files with 304 additions and 218 deletions
|
@ -88,7 +88,7 @@ namespace ams::fssystem {
|
|||
for (auto it = list->begin(); it != list->end(); ++it) {
|
||||
if (it->Contains(key, key_size, key2)) {
|
||||
std::unique_ptr accessor = std::make_unique<KeySlotCacheAccessor>(it->GetKeySlotIndex(), std::move(lk));
|
||||
R_UNLESS(accessor != nullptr, fs::ResultAllocationFailure());
|
||||
R_UNLESS(accessor != nullptr, fs::ResultAllocationMemoryFailed());
|
||||
|
||||
*out = std::move(accessor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue