1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

AK+Userland+Tests: Remove URL(char const*) constructor

The StringView(char const*) constructor is being removed, and there was
only a few users of this left, which are also cleaned up in this commit.
This commit is contained in:
sin-ack 2022-07-11 20:59:08 +00:00 committed by Andreas Kling
parent 3f8060d859
commit 604aac531c
3 changed files with 62 additions and 66 deletions

View file

@ -148,7 +148,7 @@ private:
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
char const* url_str = nullptr;
StringView url_str;
bool save_at_provided_name = false;
bool should_follow_url = false;
char const* data = nullptr;