mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Make Deprecated{Fly,}String and StringImpl const-correct
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user