mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 21:56:25 +01:00
Problem: unnecessarily complex inheritance hierarchy in decoders, warning C4355 with VS2010
Solution: make allocator a member of decoder_base_t
This commit is contained in:
@@ -39,8 +39,7 @@
|
||||
#include "err.hpp"
|
||||
|
||||
zmq::v1_decoder_t::v1_decoder_t (size_t bufsize_, int64_t maxmsgsize_) :
|
||||
c_single_allocator (bufsize_),
|
||||
decoder_base_t<v1_decoder_t> (this),
|
||||
decoder_base_t<v1_decoder_t> (bufsize_),
|
||||
maxmsgsize (maxmsgsize_)
|
||||
{
|
||||
int rc = in_progress.init ();
|
||||
|
||||
Reference in New Issue
Block a user