mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09: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
|
@ -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