mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-04-22 00:30:14 +02:00
Merge pull request #81 from yorickdewid/patch-1
Remove explicit cast on void pointer operator
This commit is contained in:
commit
92d2af6def
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user