summaryrefslogtreecommitdiff
path: root/Kernel/VM/PurgeableVMObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/VM/PurgeableVMObject.h')
-rw-r--r--Kernel/VM/PurgeableVMObject.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Kernel/VM/PurgeableVMObject.h b/Kernel/VM/PurgeableVMObject.h
index 0b63801284..846222deab 100644
--- a/Kernel/VM/PurgeableVMObject.h
+++ b/Kernel/VM/PurgeableVMObject.h
@@ -64,10 +64,8 @@ private:
bool m_volatile { false };
};
-template<>
-inline bool is<PurgeableVMObject>(const VMObject& vmobject)
-{
- return vmobject.is_purgeable();
}
-}
+AK_BEGIN_TYPE_TRAITS(Kernel::PurgeableVMObject)
+static bool is_type(const Kernel::VMObject& vmobject) { return vmobject.is_purgeable(); }
+AK_END_TYPE_TRAITS()