Update zmq.hpp

add const to what function of error_t
This commit is contained in:
Philip Top 2016-11-06 07:38:16 -08:00 committed by GitHub
parent 8d64ceccb3
commit 95ce4f2bc2

View File

@ -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);
} }