1
Fork 0
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:
Andreas Kling 2021-01-01 15:32:06 +01:00
parent aa92adeedf
commit 7c3b6b10e4
7 changed files with 10 additions and 23 deletions

View file

@ -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()