mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-09 00:12:45 +01:00
kernel/handle_table: Default destructor in the cpp file
We don't need to potentially inline the teardown logic of all of the handle instances.
This commit is contained in:
parent
5af4160bf2
commit
f5ce71793e
2 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,8 @@ HandleTable::HandleTable() {
|
|||
Clear();
|
||||
}
|
||||
|
||||
HandleTable::~HandleTable() = default;
|
||||
|
||||
ResultVal<Handle> HandleTable::Create(SharedPtr<Object> obj) {
|
||||
DEBUG_ASSERT(obj != nullptr);
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@ enum KernelHandle : Handle {
|
|||
class HandleTable final : NonCopyable {
|
||||
public:
|
||||
HandleTable();
|
||||
~HandleTable();
|
||||
|
||||
/**
|
||||
* Allocates a handle for the given object.
|
||||
|
|
Loading…
Reference in a new issue