From dac8e9552ccdff137e717270468e584c2a9895b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Tue, 11 Aug 2020 00:56:13 +0200 Subject: libcamera: request: Declare a using directive for map of buffers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declare a using directive for the map of Stream to FrameBuffer. Update all users of Request::buffers() to use the new usage directive. Signed-off-by: Niklas Söderlund Reviewed-by: Kieran Bingham --- src/qcam/main_window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qcam') diff --git a/src/qcam/main_window.h b/src/qcam/main_window.h index 4606fe48..6e1bcd76 100644 --- a/src/qcam/main_window.h +++ b/src/qcam/main_window.h @@ -47,13 +47,13 @@ public: { } - CaptureRequest(const std::map &buffers, + CaptureRequest(const Request::BufferMap &buffers, const ControlList &metadata) : buffers_(buffers), metadata_(metadata) { } - std::map buffers_; + Request::BufferMap buffers_; ControlList metadata_; }; -- cgit v1.2.1