From a6af7a8657a6211190f35977ccd3e819cccf6c20 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 22 Dec 2017 18:34:30 +1100 Subject: [PATCH] posix/fd: add explicit native conversion function --- posix/fd.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/posix/fd.hpp b/posix/fd.hpp index 3c1192c2..55aa4783 100644 --- a/posix/fd.hpp +++ b/posix/fd.hpp @@ -67,6 +67,7 @@ namespace util::posix { /////////////////////////////////////////////////////////////////////// operator int (void) const; + int native (void) { return m_fd; } private: int m_fd;