posix/fd: add explicit native conversion function

This commit is contained in:
Danny Robson 2017-12-22 18:34:30 +11:00
parent d80855aedf
commit a6af7a8657

View File

@ -67,6 +67,7 @@ namespace util::posix {
///////////////////////////////////////////////////////////////////////
operator int (void) const;
int native (void) { return m_fd; }
private:
int m_fd;