Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asmjit/asmjit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrvid King <709247+Orvid@users.noreply.github.com>2022-06-29 01:34:28 +0300
committerGitHub <noreply@github.com>2022-06-29 01:34:28 +0300
commitd3fbf7c9bc7c1d1365a94a45614b91c5a3706b81 (patch)
tree822e14ba517cda60b6637aa27b3b38b9e36905c3
parent35f92e8706db78c6aa7482b5e1cdb59c5972a965 (diff)
Fix an instance of -Wdeprecated-copy (#376)
-rw-r--r--src/asmjit/core/radefs_p.h2
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; }