summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder_qt.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-26 21:29:01 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-28 03:33:06 +0200
commit8e42c2feb7ff7c350ffbbf97dd963dfd54e21faa (patch)
tree6febb247a75d43ec8b84acb65fabeca116dc5f6d /src/qcam/viewfinder_qt.cpp
parent6cbdc2859963e17bc897a4022f1d68170477d888 (diff)
libcamera: span: Provide and use helper variable templates for type traits
Following the C++17 practice, provide is_array_v<T> and is_span_v<T> helper variable templates as shorter versions of is_array<T>::value and is_span<T>::value, and use them through the code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/viewfinder_qt.cpp')
0 files changed, 0 insertions, 0 deletions