Merge pull request #81 from yorickdewid/patch-1

Remove explicit cast on void pointer operator
This commit is contained in:
Constantin Rack
2016-07-18 21:03:11 +02:00
committed by GitHub

View File

@@ -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;
} }