mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-09 15:53:59 +01:00
Problem: ctx_t::_slots is a plain array
Solution: use a std::vector instead
This commit is contained in:
@@ -198,8 +198,7 @@ class ctx_t : public thread_ctx_t
|
||||
io_threads_t _io_threads;
|
||||
|
||||
// Array of pointers to mailboxes for both application and I/O threads.
|
||||
uint32_t _slot_count;
|
||||
i_mailbox **_slots;
|
||||
std::vector<i_mailbox *> _slots;
|
||||
|
||||
// Mailbox for zmq_ctx_term thread.
|
||||
mailbox_t _term_mailbox;
|
||||
|
||||
Reference in New Issue
Block a user