mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
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:
parent
2d1f3ec749
commit
09e89cc55d
4 changed files with 4 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue