[PATCH v1 1/4] libcamera: controls: Simplify SFINAE template parameter
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Apr 1 23:33:08 CEST 2025
Hi Barnabás,
Thank you for the patch.
On Tue, Apr 01, 2025 at 03:19:36PM +0200, Barnabás Pőcze wrote:
> Just use `void` instead of `std::void_t<>`.
>
> Signed-off-by: Barnabás Pőcze <barnabas.pocze at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> include/libcamera/controls.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
> index 4bfe9615c..c1919d864 100644
> --- a/include/libcamera/controls.h
> +++ b/include/libcamera/controls.h
> @@ -43,7 +43,7 @@ enum ControlType {
>
> namespace details {
>
> -template<typename T, typename = std::void_t<>>
> +template<typename T, typename = void>
> struct control_type {
> };
>
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list