summaryrefslogtreecommitdiff
path: root/AK/Traits.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-17 01:41:36 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-17 01:41:36 +0100
commitb5c76d7559a09473d75283c5b12fce7b1651e7bd (patch)
tree27e7b3c9615e44bb12fa9b49a965590954a77868 /AK/Traits.h
parent5605295d00ec1230b958c461f30736fc1603342d (diff)
downloadserenity-b5c76d7559a09473d75283c5b12fce7b1651e7bd.zip
Get rid of #ifdef SERENITY. We're past that phase of bootstrapping.
Diffstat (limited to 'AK/Traits.h')
-rw-r--r--AK/Traits.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/AK/Traits.h b/AK/Traits.h
index b3c89571a3..734212187a 100644
--- a/AK/Traits.h
+++ b/AK/Traits.h
@@ -26,11 +26,7 @@ template<typename T>
struct Traits<T*> {
static unsigned hash(const T* p)
{
-#ifdef SERENITY
return intHash((dword)p);
-#else
- return intHash((unsigned long long)p & 0xffffffff);
-#endif
}
static void dump(const T* p) { kprintf("%p", p); }
};