mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +00:00
AK: Fix URL's operator<<() and use it
This commit is contained in:
parent
b299c75d45
commit
ad3871b64e
Notes:
sideshowbarker
2024-07-19 06:36:09 +09:00
Author: https://github.com/linusg
Commit: ad3871b64e
Pull-request: https://github.com/SerenityOS/serenity/pull/2253
Issue: https://github.com/SerenityOS/serenity/issues/2250
3 changed files with 6 additions and 8 deletions
6
AK/URL.h
6
AK/URL.h
|
@ -89,11 +89,9 @@ private:
|
|||
String m_data_payload;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
using AK::URL;
|
||||
|
||||
inline const LogStream& operator<<(const LogStream& stream, const URL& value)
|
||||
{
|
||||
return stream << value.to_string();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue