Kernel: Make the Thread::FileDescriptionBlocker constructor protected.

Nobody should ever construct one of these directly.
This commit is contained in:
Andreas Kling 2019-07-19 13:32:56 +02:00
parent 705cd2491c
commit 218069f421

View file

@ -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;
};