mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-28 03:10:57 +01:00
glasm: Add missing return value on move assignment
This commit is contained in:
parent
fb3ba62b3a
commit
afcb140185
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ struct ScopedRegister {
|
|||
}
|
||||
reg_alloc = std::exchange(rhs.reg_alloc, nullptr);
|
||||
reg = rhs.reg;
|
||||
return *this;
|
||||
}
|
||||
|
||||
ScopedRegister(ScopedRegister&& rhs) noexcept
|
||||
|
|
Loading…
Reference in a new issue