mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +00:00
LibWeb: Use "namespace Web::Foo {" since C++20 allows it :^)
Thanks @nico for teaching me about this!
This commit is contained in:
parent
4065182811
commit
685e006e27
Notes:
sideshowbarker
2024-07-19 04:41:57 +09:00
Author: https://github.com/awesomekling
Commit: 685e006e27
15 changed files with 22 additions and 46 deletions
|
@ -61,8 +61,7 @@ int main(int argc, char** argv)
|
|||
|
||||
out() << "#include <AK/Assertions.h>";
|
||||
out() << "#include <LibWeb/CSS/PropertyID.h>";
|
||||
out() << "namespace Web {";
|
||||
out() << "namespace CSS {";
|
||||
out() << "namespace Web::CSS {";
|
||||
|
||||
out() << "PropertyID property_id_from_string(const StringView& string) {";
|
||||
|
||||
|
@ -88,7 +87,6 @@ int main(int argc, char** argv)
|
|||
out() << " }";
|
||||
out() << "}";
|
||||
out() << "}";
|
||||
out() << "}";
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue