mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 18:28:51 +00:00
Use HashMap::remove() in some places that I wanted it.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user