Everywhere: Remove DeprecatedFlyString + any remaining references to it

This reverts commit 7c32d1e8a5.
This commit is contained in:
Kenneth Myhra 2025-04-01 16:49:30 +02:00 committed by Andreas Kling
commit 82a2ae99c8
Notes: github-actions[bot] 2025-04-02 09:44:09 +00:00
22 changed files with 13 additions and 297 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();