diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index 4bfe9615c..2ae4ec3d4 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -120,7 +120,7 @@ struct control_type { }; template -struct control_type> : public control_type> { +struct control_type, std::enable_if_t>::size == 0>> : public control_type> { static constexpr std::size_t size = N; };