kernel/slab: Use final keyword.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user