mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-05-17 20:21:38 +02:00
Update zmq.hpp
add const to what function of error_t
This commit is contained in:
parent
8d64ceccb3
commit
95ce4f2bc2
2
zmq.hpp
2
zmq.hpp
@ -119,7 +119,7 @@ namespace zmq
|
|||||||
|
|
||||||
error_t () : errnum (zmq_errno ()) {}
|
error_t () : errnum (zmq_errno ()) {}
|
||||||
#ifdef ZMQ_CPP11
|
#ifdef ZMQ_CPP11
|
||||||
virtual const char *what () noexcept
|
virtual const char *what () const noexcept
|
||||||
{
|
{
|
||||||
return zmq_strerror (errnum);
|
return zmq_strerror (errnum);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user