mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Kernel: Make the Thread::FileDescriptionBlocker constructor protected.
Nobody should ever construct one of these directly.
This commit is contained in:
parent
705cd2491c
commit
218069f421
1 changed files with 3 additions and 1 deletions
|
@ -75,9 +75,11 @@ public:
|
|||
|
||||
class FileDescriptionBlocker : public Blocker {
|
||||
public:
|
||||
explicit FileDescriptionBlocker(const FileDescription&);
|
||||
const FileDescription& blocked_description() const;
|
||||
|
||||
protected:
|
||||
explicit FileDescriptionBlocker(const FileDescription&);
|
||||
|
||||
private:
|
||||
NonnullRefPtr<FileDescription> m_blocked_description;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue