diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-19 20:28:39 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-22 17:26:05 +0200 |
commit | 7216c6a9bb815ca9d0b4247f8e04d87e4ac85fa2 (patch) | |
tree | b7629ccd4b76177a7b15a28fd3c5a796923f5720 /include/android/hardware/libhardware | |
parent | 8034af7423e0b9f00c84eaa00cd095dbcf44f4a5 (diff) |
libcamera: bound_method: Use std::index_sequence
Now that we're using C++-14, replace the manual implementation of
std::integer_sequence with std::index_sequence, a specialization of
std::integer_sequence with the integer type equal to std::size_t. The
template parameter S that denotes a sequence is replaced with I to align
with the usage examples of cppreference.com.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/android/hardware/libhardware')
0 files changed, 0 insertions, 0 deletions