mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
glasm: Add missing return value on move assignment
This commit is contained in:
parent
fb3ba62b3a
commit
afcb140185
|
@ -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