diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-07 01:00:03 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-07 01:15:43 +0200 |
commit | 2cc90af8c7b6ac90b62ed9794d6176562b788292 (patch) | |
tree | 683e089d29098f71a38c5b8042efe931524d251e /test/media_device/media_device_acquire.cpp | |
parent | 4e0d1eca10b7d2cf0ccbdbebee698d6b716d075b (diff) |
libcamera: v4l2_videodevice: Don't use std::atomic specialization
The std::atomic_uint64_t specialization was missing from C++14, and only
added to C++17 (see LWG 2441). It was treated as a Defect Report and
backported to earlier C++ standards by gcc and clang, but is missing
from libstdc++ shipped with gcc 5 and gcc 6. Fix the compilation error
by using std::atomic<uint64_t> instead.
Fixes: 4e0d1eca10b7 ("libcamera: V4L2BufferCache: Improve cache eviction strategy")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/media_device/media_device_acquire.cpp')
0 files changed, 0 insertions, 0 deletions