Problem: parameters not const where const possible

Solution: add const
This commit is contained in:
Simon Giesecke
2019-12-08 14:59:41 +01:00
committed by Simon Giesecke
parent 84267e734b
commit fdabd73da6
4 changed files with 8 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ int zmq::do_getsockopt (void *const optval_,
#ifdef ZMQ_HAVE_CURVE
static int do_getsockopt_curve_key (void *const optval_,
size_t *const optvallen_,
const size_t *const optvallen_,
const uint8_t (&curve_key_)[CURVE_KEYSIZE])
{
if (*optvallen_ == CURVE_KEYSIZE) {