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:
Andreas Kling 2020-08-06 11:36:56 +02:00
parent 4c44c96bc6
commit 0d6597df2b

View file

@ -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 };