kernel/slab: Use final keyword.

This commit is contained in:
Augustin Cavalier 2024-11-04 16:07:49 -05:00
parent a2694db751
commit 02857568c9
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ struct HashedSlab : slab {
};
struct HashedObjectCache : ObjectCache {
struct HashedObjectCache final : ObjectCache {
HashedObjectCache();
static HashedObjectCache* Create(const char* name, size_t object_size,

View File

@ -11,7 +11,7 @@
#include "ObjectCache.h"
struct SmallObjectCache : ObjectCache {
struct SmallObjectCache final : ObjectCache {
static SmallObjectCache* Create(const char* name, size_t object_size,
size_t alignment, size_t maximum,
size_t magazineCapacity,