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
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

@ -26,7 +26,7 @@ public:
static ErrorOr<FlyString> from_utf8(StringView);
static FlyString from_utf8_without_validation(ReadonlyBytes);
template<typename T>
requires(IsOneOf<RemoveCVReference<T>, ByteString, DeprecatedFlyString, FlyString, String>)
requires(IsOneOf<RemoveCVReference<T>, ByteString, FlyString, String>)
static ErrorOr<String> from_utf8(T&&) = delete;
FlyString(String const&);
@ -55,9 +55,6 @@ public:
// This is primarily interesting to unit tests.
[[nodiscard]] static size_t number_of_fly_strings();
// FIXME: Remove these once all code has been ported to FlyString
[[nodiscard]] DeprecatedFlyString to_deprecated_fly_string() const;
static ErrorOr<FlyString> from_deprecated_fly_string(DeprecatedFlyString const&);
template<typename T>
requires(IsSame<RemoveCVReference<T>, StringView>)
static ErrorOr<String> from_deprecated_fly_string(T&&) = delete;