summaryrefslogtreecommitdiff
path: root/test/file-descriptor.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-18 16:35:10 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-19 18:08:27 +0300
commitdfa25e18334c9dc68b1939c62d6b711ece153f92 (patch)
tree081b722167db24a2973971504c084b0d6f3b9347 /test/file-descriptor.cpp
parentc7463138c666d826de26969bf03819936a8cf664 (diff)
libcamera: v4l2_videodevice: Use FileDescriptor "fd move" constructor
Use the newly added "fd move" constructor of the FileDescriptor class to avoid dup() + close(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'test/file-descriptor.cpp')
0 files changed, 0 insertions, 0 deletions