summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Heap
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-05 00:52:03 -0700
committerLinus Groh <mail@linusgroh.de>2021-09-05 09:48:43 +0100
commitd8de352eadce62789a00f8d6da6c2e77903e9180 (patch)
tree7479a62ac0d4d78bf2befb30bf3d37e470d2261f /Userland/Libraries/LibJS/Heap
parent3d12d0f408c8f4f8ec6fbcf8303659aeeec5e33f (diff)
downloadserenity-d8de352eadce62789a00f8d6da6c2e77903e9180.zip
LibJS: Declare type aliases with "using" instead of "typedef"
Diffstat (limited to 'Userland/Libraries/LibJS/Heap')
-rw-r--r--Userland/Libraries/LibJS/Heap/CellAllocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Heap/CellAllocator.h b/Userland/Libraries/LibJS/Heap/CellAllocator.h
index de1663b6fd..9ce1488601 100644
--- a/Userland/Libraries/LibJS/Heap/CellAllocator.h
+++ b/Userland/Libraries/LibJS/Heap/CellAllocator.h
@@ -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;
};