mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-10-14 23:07:59 +02:00
Merge pull request #81 from yorickdewid/patch-1
Remove explicit cast on void pointer operator
This commit is contained in:
4
zmq.hpp
4
zmq.hpp
@@ -495,12 +495,12 @@ namespace zmq
|
|||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ZMQ_EXPLICIT operator void* () ZMQ_NOTHROW
|
inline operator void* () ZMQ_NOTHROW
|
||||||
{
|
{
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline ZMQ_EXPLICIT operator void const* () const ZMQ_NOTHROW
|
inline operator void const* () const ZMQ_NOTHROW
|
||||||
{
|
{
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user