Message ID | 20250401131939.749583-2-barnabas.pocze@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
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@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@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 { > }; >
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 { };
Just use `void` instead of `std::void_t<>`. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- include/libcamera/controls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)