mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 21:56:25 +01:00
Problem: missing use of C++11 = delete and = default
Solution: introduce macros ZMQ_DEFAULT and ZMQ_NON_COPYABLE_NOR_MOVABLE
This commit is contained in:
committed by
Simon Giesecke
parent
86d7de38ca
commit
f60f909899
@@ -207,9 +207,7 @@ template <typename T, int N> class yqueue_t
|
||||
// us from having to call malloc/free.
|
||||
atomic_ptr_t<chunk_t> _spare_chunk;
|
||||
|
||||
// Disable copying of yqueue.
|
||||
yqueue_t (const yqueue_t &);
|
||||
const yqueue_t &operator= (const yqueue_t &);
|
||||
ZMQ_NON_COPYABLE_NOR_MOVABLE (yqueue_t)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user