mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
kernel/slab: Use final keyword.
This commit is contained in:
parent
a2694db751
commit
02857568c9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user