summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/double_open.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-27 21:29:01 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-03-29 00:02:13 +0200
commit8f8992e4ee181f1efba3b8ab5eb680e425bf1b12 (patch)
treef1607e86baf8ebe713e0c8a6d4451816a9faea20 /test/v4l2_videodevice/double_open.cpp
parenteb4ae9e787c0fecd6dfbf665842e02e7970a29fb (diff)
libcamera: pipeline: ipu3: Fix compilation on gcc 5 and 6
Commit 5e7c5d64a67f ("libcamera: ipu3: Do not unconditionally queue buffers to CIO2") introduced usage of the std::queue default constructor by using copy-list-initialization from {}. The default constructor was explicit in C++11, which was fixed retroactively with a defect report (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0935r0.html). gcc 5 and 6 are unfortunately affected, requiring explicit usage of the constructor. Fixes: 5e7c5d64a67f ("libcamera: ipu3: Do not unconditionally queue buffers to CIO2") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/v4l2_videodevice/double_open.cpp')
0 files changed, 0 insertions, 0 deletions