Kernel: Copy AML NameString base when moving it :)
This commit is contained in:
parent
2e39668605
commit
1b94957b07
|
@ -24,10 +24,12 @@ namespace Kernel::ACPI::AML
|
|||
public:
|
||||
NameString() = default;
|
||||
NameString(NameString&& other)
|
||||
: parts(BAN::move(other.parts))
|
||||
: base(other.base)
|
||||
, parts(BAN::move(other.parts))
|
||||
{}
|
||||
NameString& operator=(NameString&& other)
|
||||
{
|
||||
base = other.base;
|
||||
parts = BAN::move(other.parts);
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue