Skip to content

Commit 95ce4f2

Browse files
authored
Update zmq.hpp
add const to what function of error_t
1 parent 8d64cec commit 95ce4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ namespace zmq
119119

120120
error_t () : errnum (zmq_errno ()) {}
121121
#ifdef ZMQ_CPP11
122-
virtual const char *what () noexcept
122+
virtual const char *what () const noexcept
123123
{
124124
return zmq_strerror (errnum);
125125
}

0 commit comments

Comments
 (0)