Implement at32() util

Works like .at() but uses source location for "exception".
This commit is contained in:
Nekotekina 2022-09-19 15:57:51 +03:00 committed by Ivan
parent 2655255d4d
commit 6ff6a4989a
62 changed files with 472 additions and 452 deletions

View file

@ -152,7 +152,7 @@ bool vfs::unmount(std::string_view vpath)
}
// Get the current name based on the depth
const std::string& name = entry_list.at(depth);
const std::string& name = ::at32(entry_list, depth);
// Go through all children of this node
for (auto it = dir.dirs.begin(); it != dir.dirs.end();)