mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +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
|
@ -6,8 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/Error.h>
|
||||
#include <AK/FlyString.h>
|
||||
|
||||
namespace Web::Namespace {
|
||||
|
||||
|
@ -19,7 +19,7 @@ namespace Web::Namespace {
|
|||
__ENUMERATE_NAMESPACE(XML, "http://www.w3.org/XML/1998/namespace") \
|
||||
__ENUMERATE_NAMESPACE(XMLNS, "http://www.w3.org/2000/xmlns/")
|
||||
|
||||
#define __ENUMERATE_NAMESPACE(name, namespace_) extern DeprecatedFlyString name;
|
||||
#define __ENUMERATE_NAMESPACE(name, namespace_) extern FlyString name;
|
||||
ENUMERATE_NAMESPACES
|
||||
#undef __ENUMERATE_NAMESPACE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue