We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bad35bd + c1e8ac0 commit 2e22e3fCopy full SHA for 2e22e3f
zmq.hpp
@@ -497,14 +497,14 @@ namespace zmq
497
}
498
499
inline void getsockopt (int option_, void *optval_,
500
- size_t *optvallen_)
+ size_t *optvallen_) const
501
{
502
int rc = zmq_getsockopt (ptr, option_, optval_, optvallen_);
503
if (rc != 0)
504
throw error_t ();
505
506
507
- template<typename T> T getsockopt(int option_)
+ template<typename T> T getsockopt(int option_) const
508
509
T optval;
510
size_t optlen = sizeof(T);
0 commit comments