mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:17:35 +00: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 {
|
class FileDescriptionBlocker : public Blocker {
|
||||||
public:
|
public:
|
||||||
explicit FileDescriptionBlocker(const FileDescription&);
|
|
||||||
const FileDescription& blocked_description() const;
|
const FileDescription& blocked_description() const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
explicit FileDescriptionBlocker(const FileDescription&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
NonnullRefPtr<FileDescription> m_blocked_description;
|
NonnullRefPtr<FileDescription> m_blocked_description;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue