mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00:00
Kernel: Remove shadowing member variable from FileDescriptionBlocker
FileDescriptionBlocker::m_should_block was shadowing the parent's FileBlocker::m_should_block variable, which would cause should_block() to return the wrong value. Found by @gunnarbeutner
This commit is contained in:
parent
37903db2b4
commit
72a61fe137
1 changed files with 0 additions and 1 deletions
|
@ -559,7 +559,6 @@ public:
|
||||||
const BlockFlags m_flags;
|
const BlockFlags m_flags;
|
||||||
BlockFlags& m_unblocked_flags;
|
BlockFlags& m_unblocked_flags;
|
||||||
bool m_did_unblock { false };
|
bool m_did_unblock { false };
|
||||||
bool m_should_block { true };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class AcceptBlocker final : public FileDescriptionBlocker {
|
class AcceptBlocker final : public FileDescriptionBlocker {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue