Do not call DEL operator if DEL operator has been disabled.
This commit is contained in:
1 parent
8717f0ad1a
commit
11ab580b55
1 file changed
+1
-1
+1
-1
@@ -119,7 +119,7 @@
|
||||
if (shared != NULL) { \
|
||||
if (atomic_fetch_sub(&(shared->M_C(name, _cpt)), 1) == 1) { \
|
||||
M_GET_CLEAR oplist (*shared); \
|
||||
M_GET_DEL oplist (shared); \
|
||||
M_IF_DISABLED_METHOD(DEL, oplist)(, M_GET_DEL oplist (shared);) \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
|
||||
Reference in new issue
Block a user