Commit 9384faf7 authored by Peter Bourgon's avatar Peter Bourgon Committed by Martin Sustrik

Add function to zmq::error_t to access errnum

Signed-off-by: 's avatarPeter Bourgon <peter.bourgon@gmail.com>
parent dace2473
......@@ -43,6 +43,11 @@ namespace zmq
return zmq_strerror (errnum);
}
int num () const
{
return errnum;
}
private:
int errnum;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment