diff --git a/AK/Stream.h b/AK/Stream.h index 7a59b9b551..1c20891286 100644 --- a/AK/Stream.h +++ b/AK/Stream.h @@ -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 };