mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 06:17:35 +00:00
LibCore: Make IODevice::can_read_line() const
This also makes LibHTTP's Job::can_read_line() const, as IODevice was keeping that from being const. Fixes #2219
This commit is contained in:
parent
5386508119
commit
3485613f4a
7 changed files with 15 additions and 17 deletions
|
@ -73,7 +73,7 @@ void HttpJob::register_on_ready_to_write(Function<void()> callback)
|
|||
callback();
|
||||
}
|
||||
|
||||
bool HttpJob::can_read_line()
|
||||
bool HttpJob::can_read_line() const
|
||||
{
|
||||
return m_socket->can_read_line();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue