Merge pull request #170 from NAIVEddd/patch-1

Reduce the duplication.
This commit is contained in:
Luca Boccassi 2017-11-03 10:06:44 +00:00 committed by GitHub
commit 249b4a09a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -475,12 +475,10 @@ namespace zmq
xsub = ZMQ_XSUB,
push = ZMQ_PUSH,
pull = ZMQ_PULL,
#if ZMQ_VERSION_MAJOR < 4
pair = ZMQ_PAIR
#else
pair = ZMQ_PAIR,
stream = ZMQ_STREAM
#if ZMQ_VERSION_MAJOR >= 4
stream = ZMQ_STREAM,
#endif
pair = ZMQ_PAIR
};
#endif