mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00: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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue