mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-15 23:20:09 +02:00
Update zmq.hpp
add const to what function of error_t
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user