diff options
author | Orvid King <709247+Orvid@users.noreply.github.com> | 2022-06-29 01:34:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 01:34:28 +0300 |
commit | d3fbf7c9bc7c1d1365a94a45614b91c5a3706b81 (patch) | |
tree | 822e14ba517cda60b6637aa27b3b38b9e36905c3 | |
parent | 35f92e8706db78c6aa7482b5e1cdb59c5972a965 (diff) |
Fix an instance of -Wdeprecated-copy (#376)
-rw-r--r-- | src/asmjit/core/radefs_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asmjit/core/radefs_p.h b/src/asmjit/core/radefs_p.h index 15c50ff..091b682 100644 --- a/src/asmjit/core/radefs_p.h +++ b/src/asmjit/core/radefs_p.h @@ -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; } |