mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibWeb: Make Web::Namespace::Foo strings be FlyString
This required dealing with a *lot* of fallout, but it's all basically just switching from DeprecatedFlyString to either FlyString or Optional<FlyString> in a hundred places to accommodate the change.
This commit is contained in:
parent
6b20a109c6
commit
3ff81dcb65
31 changed files with 184 additions and 185 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace Web::Namespace {
|
||||
|
||||
#define __ENUMERATE_NAMESPACE(name, namespace_) DeprecatedFlyString name;
|
||||
#define __ENUMERATE_NAMESPACE(name, namespace_) FlyString name;
|
||||
ENUMERATE_NAMESPACES
|
||||
#undef __ENUMERATE_NAMESPACE
|
||||
|
||||
|
@ -18,7 +18,7 @@ void initialize_strings()
|
|||
VERIFY(!s_initialized);
|
||||
|
||||
#define __ENUMERATE_NAMESPACE(name, namespace_) \
|
||||
name = namespace_;
|
||||
name = namespace_##_fly_string;
|
||||
ENUMERATE_NAMESPACES
|
||||
#undef __ENUMERATE_NAMESPACE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue