mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-12 09:06:26 +00:00
apply a change to LIBZMQ_DELETE macro (related to issue #1524)
This commit is contained in:
parent
1621c25ef0
commit
7058c54672
@ -503,9 +503,10 @@ ZMQ_EXPORT void zmq_threadclose (void* thread);
|
|||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
#define ZMQ_UNUSED(object) (void)object
|
#define ZMQ_UNUSED(object) (void)object
|
||||||
#define LIBZMQ_DELETE(p_object) \
|
#define LIBZMQ_DELETE(p_object) {\
|
||||||
delete p_object; \
|
delete p_object; \
|
||||||
p_object = 0;
|
p_object = 0; \
|
||||||
|
}
|
||||||
|
|
||||||
#undef ZMQ_EXPORT
|
#undef ZMQ_EXPORT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user