AK: Make Deprecated{Fly,}String and StringImpl const-correct

This commit is contained in:
Andreas Kling 2023-02-19 22:59:26 +01:00
commit a56dfd5c77
Notes: sideshowbarker 2024-07-17 18:13:59 +09:00
5 changed files with 27 additions and 28 deletions

View file

@ -24,9 +24,9 @@ struct DeprecatedFlyStringImplTraits : public Traits<StringImpl*> {
}
};
static Singleton<HashTable<StringImpl*, DeprecatedFlyStringImplTraits>> s_table;
static Singleton<HashTable<StringImpl const*, DeprecatedFlyStringImplTraits>> s_table;
static HashTable<StringImpl*, DeprecatedFlyStringImplTraits>& fly_impls()
static HashTable<StringImpl const*, DeprecatedFlyStringImplTraits>& fly_impls()
{
return *s_table;
}