diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-11 00:56:13 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-14 13:19:15 +0200 |
commit | dac8e9552ccdff137e717270468e584c2a9895b9 (patch) | |
tree | 467e192ac4272d2e407d11192e40715040aacf53 /src/qcam/main_window.h | |
parent | 02018a7d0222cefe8e6587deebe607917e20e2a1 (diff) |
libcamera: request: Declare a using directive for map of buffers
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 <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/main_window.h')
-rw-r--r-- | src/qcam/main_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<Stream *, FrameBuffer *> &buffers, + CaptureRequest(const Request::BufferMap &buffers, const ControlList &metadata) : buffers_(buffers), metadata_(metadata) { } - std::map<Stream *, FrameBuffer *> buffers_; + Request::BufferMap buffers_; ControlList metadata_; }; |