posix/fd: add explicit native conversion function
This commit is contained in:
parent
d80855aedf
commit
a6af7a8657
@ -67,6 +67,7 @@ namespace util::posix {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
operator int (void) const;
|
||||
int native (void) { return m_fd; }
|
||||
|
||||
private:
|
||||
int m_fd;
|
||||
|
Loading…
Reference in New Issue
Block a user