diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-10 11:55:34 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-10 11:55:34 +0100 |
commit | 6cbd72f54f806a4bb78fc751523f022e887894ea (patch) | |
tree | 4cb0b5e75a2e052ba7f636df3f685b10cfa1c3db /AK/String.h | |
parent | c8eaae3eaf72b84af756844b6e10e5b8452338f1 (diff) | |
download | serenity-6cbd72f54f806a4bb78fc751523f022e887894ea.zip |
AK: Remove bitrotted Traits::dump() mechanism
This was only used by HashTable::dump() which I used when doing the
first HashTable implementation. Removing this allows us to also remove
most includes of <AK/kstdio.h>.
Diffstat (limited to 'AK/String.h')
-rw-r--r-- | AK/String.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/AK/String.h b/AK/String.h index 74ac6a885d..e2c4c72036 100644 --- a/AK/String.h +++ b/AK/String.h @@ -32,7 +32,6 @@ #include <AK/StringView.h> #include <AK/Traits.h> #include <AK/Vector.h> -#include <AK/kstdio.h> namespace AK { @@ -264,7 +263,6 @@ inline bool StringView::operator==(const String& string) const template<> struct Traits<String> : public GenericTraits<String> { static unsigned hash(const String& s) { return s.impl() ? s.impl()->hash() : 0; } - static void dump(const String& s) { kprintf("%s", s.characters()); } }; struct CaseInsensitiveStringTraits : public AK::Traits<String> { |