From d38b2194ea64e40d39b25621eb51b66a3d8fb7a8 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 27 Jun 2025 11:18:25 -0400 Subject: [PATCH] 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.) --- AK/FlyString.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/AK/FlyString.h b/AK/FlyString.h index c9e07cc5d6a..ef0c2575145 100644 --- a/AK/FlyString.h +++ b/AK/FlyString.h @@ -101,8 +101,6 @@ private: constexpr bool is_invalid() const { return m_data.raw(Badge {}) == 0; } }; -void did_destroy_fly_string_data(Badge, Detail::StringData const&); - template<> class Optional : public OptionalBase { template