From 6f09680b256025923cedd50b5fd1a878af2dffd4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 18 Aug 2021 03:21:06 +0300 Subject: qcam: Replace MappedBuffer with Span The MappedBuffer structure is a custom container that binds a data pointer with a length. This is exactly what Span is. Use it instead. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder Reviewed-by: Kieran Bingham --- src/qcam/main_window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcam/main_window.h') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 85d56ce4..6788de8d 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -106,7 +106,7 @@ private: FrameBufferAllocator *allocator_; std::unique_ptr config_; - std::map mappedBuffers_; + std::map> mappedBuffers_; /* Capture state, buffers queue and statistics */ bool isCapturing_; -- cgit v1.2.1