mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-19 04:13:53 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0d6597df2b1
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
Reference in a new issue