1
0
Fork 0
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:
Kenneth Myhra 2025-03-30 16:56:32 +02:00 committed by Andreas Kling
parent aab3fbe254
commit 3131e6369f
Notes: github-actions[bot] 2025-04-01 10:50:54 +00:00
23 changed files with 13 additions and 298 deletions

View file

@ -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();