1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibJS: Declare type aliases with "using" instead of "typedef"

This commit is contained in:
Brian Gianforcaro 2021-09-05 00:52:03 -07:00 committed by Linus Groh
parent 3d12d0f408
commit d8de352ead

View file

@ -43,7 +43,7 @@ public:
private:
const size_t m_cell_size;
typedef IntrusiveList<HeapBlock, RawPtr<HeapBlock>, &HeapBlock::m_list_node> BlockList;
using BlockList = IntrusiveList<HeapBlock, RawPtr<HeapBlock>, &HeapBlock::m_list_node>;
BlockList m_full_blocks;
BlockList m_usable_blocks;
};