mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +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:
@@ -36,8 +36,7 @@ namespace zmq
|
||||
{
|
||||
// Decoder for ZMTP/1.0 protocol. Converts data batches into messages.
|
||||
|
||||
class v1_decoder_t : public zmq::c_single_allocator,
|
||||
public decoder_base_t<v1_decoder_t>
|
||||
class v1_decoder_t : public decoder_base_t<v1_decoder_t>
|
||||
{
|
||||
public:
|
||||
v1_decoder_t (size_t bufsize_, int64_t maxmsgsize_);
|
||||
|
||||
Reference in New Issue
Block a user