mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
AK: Move the path argument of URL::append_path instead of copying it
This commit is contained in:
committed by
Andreas Kling
parent
d6cfa34667
commit
30849b10d5
2
AK/URL.h
2
AK/URL.h
@@ -74,7 +74,7 @@ public:
|
|||||||
void set_query(String);
|
void set_query(String);
|
||||||
void set_fragment(String);
|
void set_fragment(String);
|
||||||
void set_cannot_be_a_base_url(bool value) { m_cannot_be_a_base_url = value; }
|
void set_cannot_be_a_base_url(bool value) { m_cannot_be_a_base_url = value; }
|
||||||
void append_path(String path) { m_paths.append(path); }
|
void append_path(String path) { m_paths.append(move(path)); }
|
||||||
|
|
||||||
String path() const;
|
String path() const;
|
||||||
String basename() const;
|
String basename() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user