mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
fs: fix bug in buffer manager
This commit is contained in:
parent
ef4d7dc024
commit
8ba513fefb
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ namespace ams::fssystem {
|
|||
|
||||
FileSystemBufferManager::CacheHandleTable::AttrInfo *FileSystemBufferManager::CacheHandleTable::FindAttrInfo(const BufferAttribute &attr) {
|
||||
const auto it = std::find_if(this->attr_list.begin(), this->attr_list.end(), [&attr](const AttrInfo &info) {
|
||||
return attr.GetLevel() == attr.GetLevel();
|
||||
return attr.GetLevel() == info.GetLevel();
|
||||
});
|
||||
|
||||
return it != this->attr_list.end() ? std::addressof(*it) : nullptr;
|
||||
|
|
Loading…
Reference in a new issue