Skip to content

Commit

Permalink
Merge pull request #81 from yorickdewid/patch-1
Browse files Browse the repository at this point in the history
Remove explicit cast on void pointer operator
  • Loading branch information
c-rack committed Jul 18, 2016
2 parents 0db7521 + bd288a5 commit 92d2af6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zmq.hpp
Expand Up @@ -495,12 +495,12 @@ namespace zmq
close();
}

inline ZMQ_EXPLICIT operator void* () ZMQ_NOTHROW
inline operator void* () ZMQ_NOTHROW
{
return ptr;
}

inline ZMQ_EXPLICIT operator void const* () const ZMQ_NOTHROW
inline operator void const* () const ZMQ_NOTHROW
{
return ptr;
}
Expand Down

0 comments on commit 92d2af6

Please sign in to comment.