0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Add function to zmq::error_t to access errnum

Signed-off-by: Peter Bourgon <peter.bourgon@gmail.com>
This commit is contained in:
Peter Bourgon 2010-10-29 08:16:59 +02:00 committed by Martin Sustrik
parent dace2473f1
commit 9384faf7e5

View File

@ -43,6 +43,11 @@ namespace zmq
return zmq_strerror (errnum);
}
int num () const
{
return errnum;
}
private:
int errnum;