mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: several fields are non-const without need
Solution: add const where easily possible
This commit is contained in:
@@ -54,7 +54,7 @@ class v1_decoder_t : public zmq::c_single_allocator,
|
||||
unsigned char tmpbuf[8];
|
||||
msg_t in_progress;
|
||||
|
||||
int64_t maxmsgsize;
|
||||
const int64_t maxmsgsize;
|
||||
|
||||
v1_decoder_t (const v1_decoder_t &);
|
||||
void operator= (const v1_decoder_t &);
|
||||
|
||||
Reference in New Issue
Block a user