mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +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:
parent
3f8060d859
commit
604aac531c
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/sin-ack
Commit: 604aac531c
Pull-request: https://github.com/SerenityOS/serenity/pull/14555
Reviewed-by: https://github.com/Dexesttp ✅
Reviewed-by: https://github.com/kleinesfilmroellchen
3 changed files with 62 additions and 66 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue