mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-02 15:41:40 +02:00
Merge pull request #14 from robertmaynard/master
Define ZMQ_DELETED_FUNCTION on older clang versions.
This commit is contained in:
commit
b232978003
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