Skip to content

Commit d8de352

Browse files
bgianfolinusg
authored andcommitted
LibJS: Declare type aliases with "using" instead of "typedef"
1 parent 3d12d0f commit d8de352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Userland/Libraries/LibJS/Heap/CellAllocator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CellAllocator {
4343
private:
4444
const size_t m_cell_size;
4545

46-
typedef IntrusiveList<HeapBlock, RawPtr<HeapBlock>, &HeapBlock::m_list_node> BlockList;
46+
using BlockList = IntrusiveList<HeapBlock, RawPtr<HeapBlock>, &HeapBlock::m_list_node>;
4747
BlockList m_full_blocks;
4848
BlockList m_usable_blocks;
4949
};

0 commit comments

Comments
 (0)