Fix an instance of -Wdeprecated-copy (#376)

This commit is contained in:
Orvid King
2022-06-28 15:34:28 -07:00
committed by GitHub
parent 35f92e8706
commit d3fbf7c9bc

View File

@@ -666,7 +666,7 @@ struct LiveRegData {
uint32_t id;
inline explicit LiveRegData(uint32_t id = BaseReg::kIdBad) noexcept : id(id) {}
inline LiveRegData(const LiveRegData& other) noexcept : id(other.id) {}
inline LiveRegData(const LiveRegData& other) noexcept = default;
inline void init(const LiveRegData& other) noexcept { id = other.id; }