mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +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:
committed by
Andreas Kling
parent
5386508119
commit
3485613f4a
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user