[0/1] Make DmaSyncer non-copyable
mbox series

Message ID 20241129185533.3308449-1-chenghaoyang@chromium.org
Headers show
Series
  • Make DmaSyncer non-copyable
Related show

Message

Cheng-Hao Yang Nov. 29, 2024, 6:53 p.m. UTC
Hi folks,

Thanks to Laurent's comment, I prepare the fix to make DmaSyncer
non-copyable.

Note that I have to add the move c'tor & operator= to use DmaSyncer in
std::vector. Please check if it makes sense.

The patch passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1320271

Please take a look. Thanks!

BR,
Harvey


Harvey Yang (1):
  DmaBufAllocator: Make DmaSyncer non-copyable

 include/libcamera/internal/dma_buf_allocator.h |  5 +++++
 src/libcamera/dma_buf_allocator.cpp            | 10 ++++++++++
 2 files changed, 15 insertions(+)