posix/flock: add the lval-ref fd constructor
This commit is contained in:
parent
cb802824df
commit
1c0ff49bb0
@ -16,6 +16,12 @@ using flock_ = cruft::posix::flock;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
flock_::flock (cruft::posix::fd const &_fd, int const _operation)
|
||||
: flock (_fd.dup (), _operation)
|
||||
{ ; }
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
flock_::flock (
|
||||
cruft::posix::fd &&_fd,
|
||||
int operation
|
||||
|
Loading…
Reference in New Issue
Block a user