1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 11:25:09 +00:00

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
15 changed files with 22 additions and 46 deletions

View file

@ -33,8 +33,7 @@
#include <LibWeb/Bindings/XMLHttpRequestWrapper.h>
#include <LibWeb/DOM/XMLHttpRequest.h>
namespace Web {
namespace Bindings {
namespace Web::Bindings {
XMLHttpRequestConstructor::XMLHttpRequestConstructor(JS::GlobalObject& global_object)
: NativeFunction(*global_object.function_prototype())
@ -69,4 +68,3 @@ JS::Value XMLHttpRequestConstructor::construct(JS::Interpreter& interpreter, Fun
}
}
}