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:
|
public:
|
||||||
NameString() = default;
|
NameString() = default;
|
||||||
NameString(NameString&& other)
|
NameString(NameString&& other)
|
||||||
: parts(BAN::move(other.parts))
|
: base(other.base)
|
||||||
|
, parts(BAN::move(other.parts))
|
||||||
{}
|
{}
|
||||||
NameString& operator=(NameString&& other)
|
NameString& operator=(NameString&& other)
|
||||||
{
|
{
|
||||||
|
base = other.base;
|
||||||
parts = BAN::move(other.parts);
|
parts = BAN::move(other.parts);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue