summaryrefslogtreecommitdiff
path: root/test/camera
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-08-11 00:56:13 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-08-14 13:19:15 +0200
commitdac8e9552ccdff137e717270468e584c2a9895b9 (patch)
tree467e192ac4272d2e407d11192e40715040aacf53 /test/camera
parent02018a7d0222cefe8e6587deebe607917e20e2a1 (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 'test/camera')
-rw-r--r--test/camera/buffer_import.cpp2
-rw-r--r--test/camera/capture.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp
index 46e03746..726d2cb2 100644
--- a/test/camera/buffer_import.cpp
+++ b/test/camera/buffer_import.cpp
@@ -46,7 +46,7 @@ protected:
if (request->status() != Request::RequestComplete)
return;
- const std::map<Stream *, FrameBuffer *> &buffers = request->buffers();
+ const Request::BufferMap &buffers = request->buffers();
completeRequestsCount_++;
diff --git a/test/camera/capture.cpp b/test/camera/capture.cpp
index ea84daee..ae572eb9 100644
--- a/test/camera/capture.cpp
+++ b/test/camera/capture.cpp
@@ -39,7 +39,7 @@ protected:
if (request->status() != Request::RequestComplete)
return;
- const std::map<Stream *, FrameBuffer *> &buffers = request->buffers();
+ const Request::BufferMap &buffers = request->buffers();
completeRequestsCount_++;