mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
AK: Remove Stream::operator bool()
This was only used in one place, and that caused a bug, so I'm removing this for now since there are no more uses.
This commit is contained in:
parent
4c44c96bc6
commit
0d6597df2b
1 changed files with 0 additions and 2 deletions
|
@ -45,8 +45,6 @@ public:
|
|||
|
||||
bool handle_error() { return exchange(m_error, false); }
|
||||
|
||||
operator bool() const { return !m_error && !m_fatal; }
|
||||
|
||||
protected:
|
||||
mutable bool m_error { false };
|
||||
mutable bool m_fatal { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue