Revert "AK: Made Strings reversible"

This reverts commit 26e81ad574.

We forgot to consider UTF-8 here. String is UTF-8 and we need to be
careful about things like this.
This commit is contained in:
Andreas Kling
2019-09-13 14:37:25 +02:00
parent 2d1f3ec749
commit 09e89cc55d
4 changed files with 4 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include <AK/RefCounted.h>
#include <AK/RefPtr.h>
#include <AK/RefCounted.h>
#include <AK/Types.h>
#include <AK/kmalloc.h>
@@ -44,8 +44,6 @@ public:
return m_hash;
}
NonnullRefPtr<StringImpl> reversed() const;
private:
enum ConstructTheEmptyStringImplTag {
ConstructTheEmptyStringImpl