From d8de352eadce62789a00f8d6da6c2e77903e9180 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 5 Sep 2021 00:52:03 -0700 Subject: [PATCH] LibJS: Declare type aliases with "using" instead of "typedef" --- Userland/Libraries/LibJS/Heap/CellAllocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::m_list_node> BlockList; + using BlockList = IntrusiveList, &HeapBlock::m_list_node>; BlockList m_full_blocks; BlockList m_usable_blocks; };