mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 12:38:38 -10:00
Kernel/DeviceTree: Make Device non-movable
Making it movable is no longer necessary since bfda800128.
Making it non-movable ensures that drivers can rely on pointers to
devices being stable.
This commit is contained in:
1 parent
d0267b3521
commit
4da3b074d8
1 file changed
+1
-1
@@ -19,7 +19,7 @@ class Management;
|
||||
|
||||
class Device {
|
||||
AK_MAKE_NONCOPYABLE(Device);
|
||||
AK_MAKE_DEFAULT_MOVABLE(Device);
|
||||
AK_MAKE_NONMOVABLE(Device);
|
||||
|
||||
public:
|
||||
Device(::DeviceTree::Node const& node, StringView node_name)
|
||||
|
||||
Reference in new issue
Block a user