LibJS: Declare type aliases with "using" instead of "typedef"
This commit is contained in:
parent
3d12d0f408
commit
d8de352ead
Notes:
sideshowbarker
2024-07-18 04:44:13 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/d8de352eadc Pull-request: https://github.com/SerenityOS/serenity/pull/9833
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue