X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fio%2Funix%2Fhandle.cpp;fp=source%2Fio%2Funix%2Fhandle.cpp;h=307da64fac0a374b32341c05c9092548d69f1ce4;hp=ea8fa4eeb9797e12f5a598f4c63d0fe6e352d492;hb=0f5709b1262b17505c5bab06951611968a4bd326;hpb=8e696b9c1ee35f2ce5b9264f31b1963758d65ced diff --git a/source/io/unix/handle.cpp b/source/io/unix/handle.cpp index ea8fa4e..307da64 100644 --- a/source/io/unix/handle.cpp +++ b/source/io/unix/handle.cpp @@ -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);