Kernel: Copy AML NameString base when moving it :)

This commit is contained in:
Bananymous 2024-12-18 18:28:16 +02:00
parent 2e39668605
commit 1b94957b07
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}