mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +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
|
@ -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…
Reference in a new issue