1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

LibJS: Use default instead of an empty constructor/destructor

Default implementations allow for more optimizations.
See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
Brian Gianforcaro 2021-09-16 00:00:32 -07:00 committed by Andreas Kling
parent fda48d7a6b
commit e2d154c74d
3 changed files with 2 additions and 6 deletions

View file

@ -17,10 +17,6 @@ CellAllocator::CellAllocator(size_t cell_size)
{
}
CellAllocator::~CellAllocator()
{
}
Cell* CellAllocator::allocate_cell(Heap& heap)
{
if (m_usable_blocks.is_empty()) {