mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 05:58:45 +01:00
Problem: ptr/ref parameters and local variables are non-const but never modified
Solution: add const
This commit is contained in:
@@ -52,7 +52,7 @@ zmq::v1_decoder_t::v1_decoder_t (size_t bufsize_, int64_t maxmsgsize_) :
|
||||
|
||||
zmq::v1_decoder_t::~v1_decoder_t ()
|
||||
{
|
||||
int rc = _in_progress.close ();
|
||||
const int rc = _in_progress.close ();
|
||||
errno_assert (rc == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user