1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

SpaceAnalyzer: Fix rendering bug when dealing with large file systems

This commit is contained in:
Mart G 2021-10-06 14:27:25 +02:00 committed by Ali Mohammad Pur
parent c569ed7e8b
commit 5f53dc6a45
3 changed files with 18 additions and 18 deletions

View file

@ -33,7 +33,7 @@ struct TreeNode : public SpaceAnalyzer::TreeMapNode {
: m_name(move(name)) {};
virtual String name() const { return m_name; }
virtual int64_t area() const { return m_area; }
virtual i64 area() const { return m_area; }
virtual size_t num_children() const
{
if (m_children) {
@ -51,7 +51,7 @@ struct TreeNode : public SpaceAnalyzer::TreeMapNode {
}
String m_name;
int64_t m_area { 0 };
i64 m_area { 0 };
OwnPtr<Vector<TreeNode>> m_children;
};