mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel: Make Process and Thread non-copyable and non-movable
This commit is contained in:
parent
a59453d4b7
commit
bed0e6d250
2 changed files with 6 additions and 0 deletions
|
@ -98,6 +98,9 @@ struct UnveiledPath {
|
|||
};
|
||||
|
||||
class Process : public InlineLinkedListNode<Process> {
|
||||
AK_MAKE_NONCOPYABLE(Process);
|
||||
AK_MAKE_NONMOVABLE(Process);
|
||||
|
||||
friend class InlineLinkedListNode<Process>;
|
||||
friend class Thread;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue