From d3fbf7c9bc7c1d1365a94a45614b91c5a3706b81 Mon Sep 17 00:00:00 2001 From: Orvid King <709247+Orvid@users.noreply.github.com> Date: Tue, 28 Jun 2022 15:34:28 -0700 Subject: [PATCH] Fix an instance of -Wdeprecated-copy (#376) --- src/asmjit/core/radefs_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }