2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

glasm: Add missing return value on move assignment

This commit is contained in:
ReinUsesLisp 2021-05-17 19:25:01 -03:00 committed by ameerj
parent fb3ba62b3a
commit afcb140185

View file

@ -25,6 +25,7 @@ struct ScopedRegister {
} }
reg_alloc = std::exchange(rhs.reg_alloc, nullptr); reg_alloc = std::exchange(rhs.reg_alloc, nullptr);
reg = rhs.reg; reg = rhs.reg;
return *this;
} }
ScopedRegister(ScopedRegister&& rhs) noexcept ScopedRegister(ScopedRegister&& rhs) noexcept