mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Remove the limited use of AK::TypeTraits we had in the kernel
This was only used for VMObject and we can do without it there. This is preparation for migrating to dynamic_cast-based helpers in userspace.
This commit is contained in:
parent
aa92adeedf
commit
7c3b6b10e4
7 changed files with 10 additions and 23 deletions
|
@ -67,7 +67,3 @@ protected:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
AK_BEGIN_TYPE_TRAITS(Kernel::InodeVMObject)
|
||||
static bool is_type(const Kernel::VMObject& vmobject) { return vmobject.is_inode(); }
|
||||
AK_END_TYPE_TRAITS()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue