From 0e74944adaf6146f370ce6fc0d45575206c8cfca Mon Sep 17 00:00:00 2001 From: Bolshov Maxim <> Date: Mon, 17 Mar 2025 23:35:26 +0300 Subject: [PATCH] Fix asmjit build on modern compilers --- src/asmjit/core/radefs_p.h | 2 +- src/asmjit/core/string.h | 2 +- src/asmjit/core/zone.h | 2 +- src/asmjit/core/zonehash.h | 2 +- src/asmjit/core/zonestack.h | 2 +- src/asmjit/core/zonevector.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/asmjit/core/radefs_p.h b/src/asmjit/core/radefs_p.h index b77ed1b..ae758db 100644 --- a/src/asmjit/core/radefs_p.h +++ b/src/asmjit/core/radefs_p.h @@ -494,7 +494,7 @@ public: template class RALiveSpans { public: - ASMJIT_NONCOPYABLE(RALiveSpans) + ASMJIT_NONCOPYABLE(RALiveSpans) typedef typename T::DataType DataType; ZoneVector _data; diff --git a/src/asmjit/core/string.h b/src/asmjit/core/string.h index 4c490d8..b58725e 100644 --- a/src/asmjit/core/string.h +++ b/src/asmjit/core/string.h @@ -371,7 +371,7 @@ public: template class StringTmp : public String { public: - ASMJIT_NONCOPYABLE(StringTmp) + ASMJIT_NONCOPYABLE(StringTmp) //! Embedded data. char _embeddedData[Support::alignUp(N + 1, sizeof(size_t))]; diff --git a/src/asmjit/core/zone.h b/src/asmjit/core/zone.h index 1930e42..04b2f7b 100644 --- a/src/asmjit/core/zone.h +++ b/src/asmjit/core/zone.h @@ -397,7 +397,7 @@ public: template class ZoneTmp : public Zone { public: - ASMJIT_NONCOPYABLE(ZoneTmp) + ASMJIT_NONCOPYABLE(ZoneTmp) //! Temporary storage, embedded after \ref Zone. struct Storage { diff --git a/src/asmjit/core/zonehash.h b/src/asmjit/core/zonehash.h index 0f1f21f..dbad427 100644 --- a/src/asmjit/core/zonehash.h +++ b/src/asmjit/core/zonehash.h @@ -175,7 +175,7 @@ public: template class ZoneHash : public ZoneHashBase { public: - ASMJIT_NONCOPYABLE(ZoneHash) + ASMJIT_NONCOPYABLE(ZoneHash) typedef NodeT Node; diff --git a/src/asmjit/core/zonestack.h b/src/asmjit/core/zonestack.h index 2de6cdc..e2aaa6f 100644 --- a/src/asmjit/core/zonestack.h +++ b/src/asmjit/core/zonestack.h @@ -133,7 +133,7 @@ public: template class ZoneStack : public ZoneStackBase { public: - ASMJIT_NONCOPYABLE(ZoneStack) + ASMJIT_NONCOPYABLE(ZoneStack) enum : uint32_t { kNumBlockItems = uint32_t((kBlockSize - sizeof(Block)) / sizeof(T)), diff --git a/src/asmjit/core/zonevector.h b/src/asmjit/core/zonevector.h index 770543b..b7f7187 100644 --- a/src/asmjit/core/zonevector.h +++ b/src/asmjit/core/zonevector.h @@ -146,7 +146,7 @@ public: template class ZoneVector : public ZoneVectorBase { public: - ASMJIT_NONCOPYABLE(ZoneVector) + ASMJIT_NONCOPYABLE(ZoneVector) // STL compatibility; typedef T value_type; -- 2.45.2