LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^)

Thanks @nico for teaching me about this!
This commit is contained in:
Andreas Kling 2020-07-21 16:23:08 +02:00
parent 4065182811
commit 685e006e27
Notes: sideshowbarker 2024-07-19 04:41:57 +09:00
15 changed files with 22 additions and 46 deletions

View file

@ -63,8 +63,7 @@ int main(int argc, char** argv)
out() << "#include <AK/StringView.h>";
out() << "#include <AK/Traits.h>";
out() << "namespace Web {";
out() << "namespace CSS {";
out() << "namespace Web::CSS {";
out() << "enum class PropertyID {";
out() << " Invalid,";
@ -77,7 +76,6 @@ int main(int argc, char** argv)
PropertyID property_id_from_string(const StringView&);\n\
const char* string_from_property_id(PropertyID);\n\
}\n\
}\n\
\n\
namespace AK {\n\
template<>\n\