diff options
Diffstat (limited to 'include/zmq.hpp')
-rw-r--r-- | include/zmq.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zmq.hpp b/include/zmq.hpp index 4cfcdce..7b2d0b2 100644 --- a/include/zmq.hpp +++ b/include/zmq.hpp @@ -43,6 +43,11 @@ namespace zmq return zmq_strerror (errnum); } + int num () const + { + return errnum; + } + private: int errnum; |