]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/unix/handle.cpp
Move Handle::operator void * to the common part
[libs/core.git] / source / io / unix / handle.cpp
index ea8fa4eeb9797e12f5a598f4c63d0fe6e352d492..307da64fac0a374b32341c05c9092548d69f1ce4 100644 (file)
@@ -8,12 +8,6 @@
 namespace Msp {
 namespace IO {
 
-Handle::operator const void *() const
-{
-       return priv->handle!=-1 ? this : 0;
-}
-
-
 void sys_set_blocking(Handle &handle, bool b)
 {
        int flags = fcntl(*handle, F_GETFD);