mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-16 20:17:05 +03:00
Fix an instance of -Wdeprecated-copy (#376)
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user