system/UniqueFileDescriptor: make the "int" constructor public
This commit is contained in:
parent
dda5516eec
commit
b1390ec27f
@ -44,12 +44,9 @@ public:
|
||||
UniqueFileDescriptor() noexcept
|
||||
:FileDescriptor(FileDescriptor::Undefined()) {}
|
||||
|
||||
protected:
|
||||
explicit UniqueFileDescriptor(int _fd) noexcept:FileDescriptor(_fd) {
|
||||
assert(IsDefined());
|
||||
}
|
||||
explicit UniqueFileDescriptor(int _fd) noexcept
|
||||
:FileDescriptor(_fd) {}
|
||||
|
||||
public:
|
||||
explicit UniqueFileDescriptor(FileDescriptor _fd) noexcept
|
||||
:FileDescriptor(_fd) {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user