diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-13 14:37:25 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-13 14:37:25 +0200 |
commit | 09e89cc55dba580d3729fbda5913e6aa87f7746d (patch) | |
tree | 405f16de9d8bfc844029d63597204b2c6bb3d8c2 /AK/StringImpl.h | |
parent | 2d1f3ec749832822c00a9278161890918416e9be (diff) | |
download | serenity-09e89cc55dba580d3729fbda5913e6aa87f7746d.zip |
Revert "AK: Made Strings reversible"
This reverts commit 26e81ad574d463faee19f5973108f80d0e02aaf6.
We forgot to consider UTF-8 here. String is UTF-8 and we need to be
careful about things like this.
Diffstat (limited to 'AK/StringImpl.h')
-rw-r--r-- | AK/StringImpl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/AK/StringImpl.h b/AK/StringImpl.h index d00a8dc857..b2b085f81d 100644 --- a/AK/StringImpl.h +++ b/AK/StringImpl.h @@ -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 |