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
commit 604aac531c
Notes: sideshowbarker 2024-07-18 05:01:22 +09:00
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;