Remove explicit cast on void pointer operator

This commit is contained in:
Yorick de Wid 2016-07-18 16:51:24 +02:00 committed by GitHub
parent 0db7521a64
commit bd288a55c1

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