forked from Bananymous/banan-os
Kernel: Copy AML NameString base when moving it :)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user