mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Merge pull request #1432 from xaqq/fix_init_order
Fix initialization order.
This commit is contained in:
commit
d3bb450892
@ -47,8 +47,8 @@ namespace zmq
|
||||
{
|
||||
public:
|
||||
c_single_allocator(size_t bufsize_):
|
||||
buf((unsigned char*) malloc (bufsize) ),
|
||||
bufsize(bufsize_)
|
||||
bufsize(bufsize_),
|
||||
buf((unsigned char*) malloc (bufsize))
|
||||
{
|
||||
alloc_assert (buf);
|
||||
}
|
||||
@ -74,8 +74,8 @@ namespace zmq
|
||||
}
|
||||
|
||||
private:
|
||||
unsigned char* buf;
|
||||
size_t bufsize;
|
||||
unsigned char* buf;
|
||||
|
||||
c_single_allocator( c_single_allocator const& );
|
||||
c_single_allocator& operator=(c_single_allocator const&);
|
||||
|
Loading…
x
Reference in New Issue
Block a user