mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
Everywhere: Remove DeprecatedFlyString + any remaining references to it
This reverts commit 7c32d1e8a5
.
This commit is contained in:
parent
4136d8d13e
commit
82a2ae99c8
Notes:
github-actions[bot]
2025-04-02 09:44:09 +00:00
Author: https://github.com/alimpfard
Commit: 82a2ae99c8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4181
22 changed files with 13 additions and 297 deletions
|
@ -4,7 +4,6 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/HashTable.h>
|
||||
#include <AK/Singleton.h>
|
||||
|
@ -120,16 +119,6 @@ size_t FlyString::number_of_fly_strings()
|
|||
return all_fly_strings().size();
|
||||
}
|
||||
|
||||
DeprecatedFlyString FlyString::to_deprecated_fly_string() const
|
||||
{
|
||||
return DeprecatedFlyString(bytes_as_string_view());
|
||||
}
|
||||
|
||||
ErrorOr<FlyString> FlyString::from_deprecated_fly_string(DeprecatedFlyString const& deprecated_fly_string)
|
||||
{
|
||||
return FlyString::from_utf8(deprecated_fly_string.view());
|
||||
}
|
||||
|
||||
unsigned Traits<FlyString>::hash(FlyString const& fly_string)
|
||||
{
|
||||
return fly_string.hash();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue