mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 23:09:08 +00:00
Use HashMap::remove() in some places that I wanted it.
This commit is contained in:
parent
969334505d
commit
6ea8ce500c
Notes:
sideshowbarker
2024-07-19 18:49:12 +09:00
Author: https://github.com/awesomekling
Commit: 6ea8ce500c
5 changed files with 10 additions and 5 deletions
|
@ -115,11 +115,10 @@ void VirtualFileSystem::freeNode(Node* node)
|
|||
{
|
||||
ASSERT(node);
|
||||
ASSERT(node->inUse());
|
||||
m_inode2vnode.remove(node->inode);
|
||||
node->inode.fileSystem()->release();
|
||||
node->inode = InodeIdentifier();
|
||||
m_nodeFreeList.append(std::move(node));
|
||||
// FIXME: Need HashMap::remove.
|
||||
//m_inode2vnode.remove(node);
|
||||
}
|
||||
|
||||
bool VirtualFileSystem::isDirectory(const String& path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue