mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Everywhere: Remove DeprecatedFlyString + any remaining references to it
This commit is contained in:
parent
aab3fbe254
commit
3131e6369f
Notes:
github-actions[bot]
2025-04-01 10:50:54 +00:00
Author: https://github.com/kennethmyhra
Commit: 3131e6369f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4153
23 changed files with 13 additions and 298 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/ByteString.h>
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/Format.h>
|
||||
#include <AK/Function.h>
|
||||
#include <AK/StdLibExtras.h>
|
||||
|
@ -16,11 +16,6 @@
|
|||
|
||||
namespace AK {
|
||||
|
||||
bool ByteString::operator==(DeprecatedFlyString const& fly_string) const
|
||||
{
|
||||
return m_impl == fly_string.impl() || view() == fly_string.view();
|
||||
}
|
||||
|
||||
bool ByteString::operator==(ByteString const& other) const
|
||||
{
|
||||
return m_impl == other.impl() || view() == other.view();
|
||||
|
@ -337,8 +332,8 @@ ByteString escape_html_entities(StringView html)
|
|||
return builder.to_byte_string();
|
||||
}
|
||||
|
||||
ByteString::ByteString(DeprecatedFlyString const& string)
|
||||
: m_impl(string.impl())
|
||||
ByteString::ByteString(FlyString const& string)
|
||||
: m_impl(*StringImpl::create(string.bytes()))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue