mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-02 15:41:40 +02:00
Correctly define ZMQ_DELETED_FUNCTION when using older clang compilers.
If you are using a version of clang that doesn't support cxx_deleted_functions we need to define ZMQ_DELETED_FUNCTION to be empty.
This commit is contained in:
parent
127c255d65
commit
a5174232d5
2
zmq.hpp
2
zmq.hpp
@ -45,6 +45,8 @@
|
|||||||
|
|
||||||
#if __has_feature(cxx_deleted_functions)
|
#if __has_feature(cxx_deleted_functions)
|
||||||
#define ZMQ_DELETED_FUNCTION = delete
|
#define ZMQ_DELETED_FUNCTION = delete
|
||||||
|
#else
|
||||||
|
#define ZMQ_DELETED_FUNCTION
|
||||||
#endif
|
#endif
|
||||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1600)
|
#elif defined(_MSC_VER) && (_MSC_VER >= 1600)
|
||||||
#define ZMQ_HAS_RVALUE_REFS
|
#define ZMQ_HAS_RVALUE_REFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user