mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
AK: Remove errant did_destroy_fly_string_data
declaration
This declaration is in the AK namespace. The real declaration is in StringData.h, in the AK::Detail namespace. as is its implementation in FlyString.cpp. So the declaration removed here was actually unused. (This was confusing while implementing a UTF-16 flyweight string.)
This commit is contained in:
parent
5720d626ce
commit
d38b2194ea
Notes:
github-actions[bot]
2025-07-03 13:54:00 +00:00
Author: https://github.com/trflynn89
Commit: d38b2194ea
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5228
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/shannonbooth
1 changed files with 0 additions and 2 deletions
|
@ -101,8 +101,6 @@ private:
|
|||
constexpr bool is_invalid() const { return m_data.raw(Badge<FlyString> {}) == 0; }
|
||||
};
|
||||
|
||||
void did_destroy_fly_string_data(Badge<Detail::StringData>, Detail::StringData const&);
|
||||
|
||||
template<>
|
||||
class Optional<FlyString> : public OptionalBase<FlyString> {
|
||||
template<typename U>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue