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:
authorIvan <nekotekina@gmail.com>2021-01-09 04:13:51 +0300
committerGitHub <noreply@github.com>2021-01-09 04:13:51 +0300
commit723f58581afc0f4cb16ba13396ff77e425896847 (patch)
tree3142bd3a09ea9b20afaeb2e455c83eb5c618b85e
parent055bbe8e155782732eead667a244bf7a3f0853e0 (diff)
Fixed a possible issue when compiling with gcc-11 (#320)oldstable
-rw-r--r--src/asmjit/base/string.h2
-rw-r--r--src/asmjit/base/zone.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/asmjit/base/string.h b/src/asmjit/base/string.h
index 8d1ef16..1436b30 100644
--- a/src/asmjit/base/string.h
+++ b/src/asmjit/base/string.h
@@ -254,7 +254,7 @@ public:
template<size_t N>
class StringBuilderTmp : public StringBuilder {
public:
- ASMJIT_NONCOPYABLE(StringBuilderTmp<N>)
+ ASMJIT_NONCOPYABLE(StringBuilderTmp)
// --------------------------------------------------------------------------
// [Construction / Destruction]
diff --git a/src/asmjit/base/zone.h b/src/asmjit/base/zone.h
index 5ec00a7..e850fbd 100644
--- a/src/asmjit/base/zone.h
+++ b/src/asmjit/base/zone.h
@@ -461,7 +461,7 @@ class ZoneHeap {
template <typename T>
class ZoneList {
public:
- ASMJIT_NONCOPYABLE(ZoneList<T>)
+ ASMJIT_NONCOPYABLE(ZoneList)
// --------------------------------------------------------------------------
// [Link]
@@ -643,7 +643,7 @@ public:
template <typename T>
class ZoneVector : public ZoneVectorBase {
public:
- ASMJIT_NONCOPYABLE(ZoneVector<T>)
+ ASMJIT_NONCOPYABLE(ZoneVector)
// --------------------------------------------------------------------------
// [Construction / Destruction]