We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04292fe commit 035bfebCopy full SHA for 035bfeb
1 file changed
include/msgpack/v1/detail/cpp11_zone.hpp
@@ -78,9 +78,9 @@ class zone {
78
other.m_head = MSGPACK_NULLPTR;
79
return *this;
80
}
81
- finalizer* m_head;
82
83
private:
+ finalizer* m_head;
84
finalizer_array(const finalizer_array&);
85
finalizer_array& operator=(const finalizer_array&);
86
};
@@ -106,7 +106,7 @@ class zone {
106
::free(c);
107
c = n;
108
109
- m_head->m_next = MSGPACK_NULLPTR;
+ m_head = MSGPACK_NULLPTR;
110
m_free = chunk_size;
111
m_ptr = ptr;
112
0 commit comments